非Q 的规则

This commit is contained in:
大米 2024-01-18 11:51:38 +08:00
parent ba97872897
commit 648c2166d6
1 changed files with 6 additions and 6 deletions

View File

@ -616,12 +616,12 @@ public class BomNewPbomParentService extends ServiceImpl<BomNewPbomParentMapper,
}
}
//非Q
List<BomNewPbomParentVO> noQList = childrenVO.stream().filter(u -> !u.getProjectType().equals("Q")).collect(Collectors.toList());
{
for (BomNewPbomParentVO noQVo : noQList) {
intiNotQFac(noQVo, childrenVO);
}
}
// List<BomNewPbomParentVO> noQList = childrenVO.stream().filter(u -> !u.getProjectType().equals("Q")).collect(Collectors.toList());
// {
// for (BomNewPbomParentVO noQVo : noQList) {
// intiNotQFac(noQVo, childrenVO);
// }
// }
if (CollUtil.isNotEmpty(result)) {
pbomChildService.saveOrUpdateBatch(result);
}