From 50977bded2871f972a619667462cc86356214dcb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E9=B9=8F=E9=A3=9E?= Date: Thu, 18 Apr 2024 16:47:52 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=AE=A1=E7=AE=97=E6=98=AF=E5=90=A6?= =?UTF-8?q?=E6=98=AF=E7=94=A8=E6=88=B7=E6=A0=B9=E8=8A=82=E7=82=B9=E6=97=B6?= =?UTF-8?q?=EF=BC=8C=E6=8E=92=E9=99=A4=E8=99=9A=E6=8B=9F=E5=8C=85=EF=BC=8C?= =?UTF-8?q?=E5=9B=A0=E4=B8=BA=E8=99=9A=E6=8B=9F=E5=8C=85=E7=9A=84=E5=88=9B?= =?UTF-8?q?=E5=BB=BA=E4=BA=BA=E5=9F=BA=E6=9C=AC=E4=B8=8A=E4=B8=8D=E6=98=AF?= =?UTF-8?q?bom=E7=9A=84=E5=88=9B=E5=BB=BA=E4=BA=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/resources/mapper/master/BomNewEbomParentMapper.xml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/nflg_project_dev/nflg-bom-new/src/main/resources/mapper/master/BomNewEbomParentMapper.xml b/nflg_project_dev/nflg-bom-new/src/main/resources/mapper/master/BomNewEbomParentMapper.xml index 9348a08c..c947858f 100644 --- a/nflg_project_dev/nflg-bom-new/src/main/resources/mapper/master/BomNewEbomParentMapper.xml +++ b/nflg_project_dev/nflg-bom-new/src/main/resources/mapper/master/BomNewEbomParentMapper.xml @@ -271,7 +271,10 @@ ) b on a.material_no=b.material_no and a.created_by=b.created_by set a.user_root_is=1 - where a.`status` < 4 and b.row_id is null and a.last_version_is=1 ; + where a.`status` < 4 + and b.row_id is null + and a.last_version_is = 1 + AND a.virtual_package_is = 0;