fix: 顶级数据不检查项目类别是否为空
This commit is contained in:
parent
007cb34971
commit
d4075470f6
|
|
@ -129,7 +129,8 @@ public class CheckEBomException {
|
|||
vo.setExceptionStatus(EBomExceptionStatusEnum.EXCEPT_NO_4.getValue());
|
||||
} else if (StrUtil.isNotBlank(vo.getMaterialNo()) && Objects.isNull(vo.getMaterialState())) {
|
||||
vo.setExceptionStatus(EBomExceptionStatusEnum.EXCEPT_NO_7.getValue());
|
||||
} else if (StrUtil.isBlank(vo.getProjectType()) && (vo.getRootIs() == null || vo.getRootIs() == 0)) {
|
||||
} else if (StrUtil.isBlank(vo.getProjectType())
|
||||
&& (Objects.equals(vo.getRootIs(), 0) && Objects.equals(vo.getUserRootIs(), 0) && Objects.equals(vo.getRootIsForWaitReview(), 0))) {
|
||||
vo.setExceptionStatus(EBomExceptionStatusEnum.EXCEPT_NO_8.getValue());
|
||||
} else if (StrUtil.isNotBlank(vo.getNoticeNums()) && EBomExceptionStatusEnum.EXCEPT_NO_11.equalsValue(vo.getExceptionStatus())) {
|
||||
vo.setExceptionStatus(EBomExceptionStatusEnum.OK.getValue());
|
||||
|
|
|
|||
Loading…
Reference in New Issue