EBOM-正式转PBOM-多任务问题
This commit is contained in:
parent
afd82d5c15
commit
425dfa2678
|
|
@ -1117,6 +1117,11 @@ public class BomNewEbomParentService extends ServiceImpl<BomNewEbomParentMapper,
|
|||
// if(CollUtil.isNotEmpty(eBomToPBom.getDelParentRowIds())){
|
||||
// pBomChildService.getBaseMapper().batchDelByParentRowId(eBomToPBom.getDelParentRowIds());
|
||||
// }
|
||||
eBomToPBom.getPBomParentResult().forEach(u->{
|
||||
u.setRootIs(0);
|
||||
u.setUserRootIs(0);
|
||||
});
|
||||
|
||||
//检查是否用户跟用户节点()
|
||||
List<String> childMaterialNos = SpringUtil.getBean(BomNewPbomParentMapper.class).getPBomExistMaterialInChildForWorkList(parent.getMaterialNo());
|
||||
if(CollUtil.isEmpty(childMaterialNos)){
|
||||
|
|
|
|||
Loading…
Reference in New Issue