optimize(ebom): 异常检查优化

This commit is contained in:
曹鹏飞 2024-07-02 10:47:55 +08:00
parent 453d504219
commit ab5a23afbd
1 changed files with 1 additions and 0 deletions

View File

@ -199,6 +199,7 @@ public class CheckEBomException {
if (CollUtil.isNotEmpty(child) && child.stream()
.allMatch(c -> StrUtil.equals(c.getProjectType(), ProjectTypeInputTypeEnum.ProjectTypeEnum.TYPE_F.getValue()))) {
parent.setExceptionStatus(EBomExceptionStatusEnum.EXCEPT_NO_17.getValue());
child.forEach(c -> c.setExceptionStatus(EBomExceptionStatusEnum.EXCEPT_NO_17.getValue()));
}
}
}