编辑变更删除条件

This commit is contained in:
jing's 2024-08-03 13:49:03 +08:00
parent 422a388d0e
commit 72709df86d
1 changed files with 4 additions and 1 deletions

View File

@ -2255,7 +2255,10 @@ public class BomNewEbomParentService extends ServiceImpl<BomNewEbomParentMapper,
//手动创建
List<BomNewEbomChildEntity> s2List = delChildList.stream().filter(u -> Objects.equals(EBomSourceEnum.FROM_EXCE.getValue(), u.getSource())
|| Objects.equals(EBomSourceEnum.FROM_MDM.getValue(), u.getSource())).collect(Collectors.toList());
|| Objects.equals(EBomSourceEnum.FROM_MDM.getValue(), u.getSource())
|| Objects.equals(EBomSourceEnum.FROM_CHANGE.getValue(), u.getSource())
).collect(Collectors.toList());
//工艺岗可以删自己的和设计岗(手动excel),
// 设计自己删除自己