From d528829d2b995190119af4e249366fa6c7b2a8b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=A7=E7=B1=B3?= <470431449@qq.com> Date: Tue, 5 Nov 2024 12:34:32 +0800 Subject: [PATCH] =?UTF-8?q?PBOM-=E7=BC=96=E8=BE=91+T=E9=A1=B9=E7=9B=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../nflg/product/bomnew/service/BomNewPbomParentService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nflg_project_dev/nflg-bom-new/src/main/java/com/nflg/product/bomnew/service/BomNewPbomParentService.java b/nflg_project_dev/nflg-bom-new/src/main/java/com/nflg/product/bomnew/service/BomNewPbomParentService.java index f689b800..db94a727 100644 --- a/nflg_project_dev/nflg-bom-new/src/main/java/com/nflg/product/bomnew/service/BomNewPbomParentService.java +++ b/nflg_project_dev/nflg-bom-new/src/main/java/com/nflg/product/bomnew/service/BomNewPbomParentService.java @@ -531,7 +531,7 @@ public class BomNewPbomParentService extends ServiceImpl fieldList = Lists.newArrayList("projectType","materialNo","drawingNo","num","unitWeight","remark"); childList.forEach(u -> { u.setParentRowId(paramDTO.getBomRowId()); - if(u.getRowId() == null){ + if(u.getRowId() == null || u.getRowId()<=0){ u.setSourceStatus(PbomSourceStatusEnum.PBOM.getValue()); u.setFacCode(parent.getFacCode()); }else{