ebom退回设计忽略工艺人员

This commit is contained in:
jing's 2024-03-21 09:39:52 +08:00
parent ddd8f8aceb
commit be1ef7ad69
1 changed files with 1 additions and 1 deletions

View File

@ -1115,7 +1115,7 @@ public class BomNewEbomParentService extends ServiceImpl<BomNewEbomParentMapper,
//忽略叶子节点 工艺人员
revertList.addAll(bomTreeList.stream()
.filter(u -> u.getBomRowId() > 0 && Objects.equals(UserJobEnum.ENGINEER.getValue(),u.getCreatedJob()))
.filter(u -> u.getBomRowId() > 0 && !Objects.equals(UserJobEnum.ENGINEER.getValue(),u.getCreatedJob()))
.map(BomNewEbomParentVO::getBomRowId).collect(Collectors.toList()));
}