Merge branch 'refs/heads/feature/DM/nflg-bom' into feature/DM/nflg-bom-dq

This commit is contained in:
曹鹏飞 2024-04-21 09:19:15 +08:00
commit 007cb34971
1 changed files with 7 additions and 7 deletions

View File

@ -170,13 +170,13 @@ public class CheckEBomException {
qList.forEach(u -> u.setExceptionStatus(EBomExceptionStatusEnum.EXCEPT_NO_9.getValue()));
}
}
if (ProjectTypeInputTypeEnum.ProjectTypeEnum.TYPE_F.getValue().equals(parent.getProjectType())) {
List<BomNewEbomParentVO> qList = child.stream().filter(u -> ProjectTypeInputTypeEnum.ProjectTypeEnum.TYPE_F.getValue().equals(u.getProjectType())).collect(Collectors.toList());
if (CollUtil.isNotEmpty(qList)) {
parent.setExceptionStatus(EBomExceptionStatusEnum.EXCEPT_NO_10.getValue());
qList.forEach(u -> u.setExceptionStatus(EBomExceptionStatusEnum.EXCEPT_NO_10.getValue()));
}
}
// if (ProjectTypeInputTypeEnum.ProjectTypeEnum.TYPE_F.getValue().equals(parent.getProjectType())) {
// List<BomNewEbomParentVO> qList = child.stream().filter(u -> ProjectTypeInputTypeEnum.ProjectTypeEnum.TYPE_F.getValue().equals(u.getProjectType())).collect(Collectors.toList());
// if (CollUtil.isNotEmpty(qList)) {
// parent.setExceptionStatus(EBomExceptionStatusEnum.EXCEPT_NO_10.getValue());
// qList.forEach(u -> u.setExceptionStatus(EBomExceptionStatusEnum.EXCEPT_NO_10.getValue()));
// }
// }
}
// checkCircularDependency(checkEBomExceptionDTOS);
//bom异常-黄色警号