From 7a329674d1fd6b0ee1d710c6e708a67bdcc1a760 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E9=B9=8F=E9=A3=9E?= Date: Thu, 8 Aug 2024 15:18:19 +0800 Subject: [PATCH] =?UTF-8?q?feat(pbom):=20=E4=BB=8ESAP=E5=AF=BC=E5=85=A5?= =?UTF-8?q?=E8=BF=87=E6=9D=A5=E7=9A=84=E6=95=B0=E6=8D=AE=EF=BC=8C=E5=86=8D?= =?UTF-8?q?=E6=AC=A1=E6=89=A7=E8=A1=8C=E5=AF=BC=E5=85=A5=E6=97=B6=EF=BC=8C?= =?UTF-8?q?=E4=B8=8D=E5=86=8D=E5=AF=BC=E5=85=A5=E5=88=B0SAP=E4=B8=AD?= =?UTF-8?q?=E5=8E=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../nflg/product/bomnew/service/BomNewPbomExportToSAPImpl.java | 1 + 1 file changed, 1 insertion(+) diff --git a/nflg_project_dev/nflg-bom-new/src/main/java/com/nflg/product/bomnew/service/BomNewPbomExportToSAPImpl.java b/nflg_project_dev/nflg-bom-new/src/main/java/com/nflg/product/bomnew/service/BomNewPbomExportToSAPImpl.java index a9d648ae..4cb4f5fe 100644 --- a/nflg_project_dev/nflg-bom-new/src/main/java/com/nflg/product/bomnew/service/BomNewPbomExportToSAPImpl.java +++ b/nflg_project_dev/nflg-bom-new/src/main/java/com/nflg/product/bomnew/service/BomNewPbomExportToSAPImpl.java @@ -277,6 +277,7 @@ public class BomNewPbomExportToSAPImpl implements IBomNewPbomExportToSAP { .eq(BomNewPbomParentEntity::getMaterialNo, child.getMaterialNo()) .ge(BomNewPbomParentEntity::getStatus, PBomStatusEnum.PUBLISH.getValue()) .eq(BomNewPbomParentEntity::getFacCode, child.getFacCode()) + .ne(BomNewPbomParentEntity::getSource, PbomSourceEnum.FROM_SAP.getValue()) .orderByDesc(BomNewPbomParentEntity::getCurrentVersion) .last(" limit 1") .one();