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());