optimize(ebom): 异常检查优化
This commit is contained in:
parent
453d504219
commit
ab5a23afbd
|
|
@ -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()));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue