Merge remote-tracking branch 'origin/DM/异常检查' into test

This commit is contained in:
10001392 2024-09-09 16:39:52 +08:00
commit 40d6126e7c
1 changed files with 5 additions and 0 deletions

View File

@ -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)){