From f179268e14ab251d8f4f0df68c8edee60ffef933 Mon Sep 17 00:00:00 2001 From: jing's Date: Wed, 20 Mar 2024 11:45:10 +0800 Subject: [PATCH] =?UTF-8?q?ebom=20=E5=B7=A5=E8=89=BA=E5=88=9B=E5=BB=BAbom?= =?UTF-8?q?=E4=B8=8D=E8=83=BD=E9=80=80=E5=9B=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/BomNewEbomParentService.java | 35 +++++++++++++------ .../bomnew/service/domain/EBom/EBomEdit.java | 2 +- 2 files changed, 25 insertions(+), 12 deletions(-) diff --git a/nflg_project_dev/nflg-bom-new/src/main/java/com/nflg/product/bomnew/service/BomNewEbomParentService.java b/nflg_project_dev/nflg-bom-new/src/main/java/com/nflg/product/bomnew/service/BomNewEbomParentService.java index d0daa55c..5653cfa4 100644 --- a/nflg_project_dev/nflg-bom-new/src/main/java/com/nflg/product/bomnew/service/BomNewEbomParentService.java +++ b/nflg_project_dev/nflg-bom-new/src/main/java/com/nflg/product/bomnew/service/BomNewEbomParentService.java @@ -1057,8 +1057,11 @@ public class BomNewEbomParentService extends ServiceImpl rowIds = dto.getRowIdList(); @@ -1077,7 +1080,7 @@ public class BomNewEbomParentService extends ServiceImpl u.getBomRowId() > 0) + .filter(u -> u.getBomRowId() > 0 && Objects.equals(UserJobEnum.ENGINEER.getValue(),u.getCreatedJob())) .map(BomNewEbomParentVO::getBomRowId).collect(Collectors.toList())); } @@ -1346,7 +1349,7 @@ public class BomNewEbomParentService extends ServiceImpl 1) { throw new NflgBusinessException(STATE.Error, StrUtil.format("同时存在{}多条相同物料编码的物料信息", query.getMaterialNo())); @@ -1364,12 +1367,10 @@ public class BomNewEbomParentService extends ServiceImpl { k.setParentRowId(parentEntity.getRowId()); }); - parentEntity.setEditStatus(dto.getOpType()); + // parentEntity.setEditStatus(dto.getOpType()); }else{ parentEntity = Convert.convert(BomNewEbomParentEntity.class, dto.getParent());