1、单位异常

This commit is contained in:
大米 2024-05-02 16:54:08 +08:00
parent ec0e175dfb
commit 5d1e9418f4
2 changed files with 6 additions and 0 deletions

View File

@ -329,6 +329,9 @@ public class BomNewEbomParentVO extends BaseMaterialVO implements Serializable {
@ApiModelProperty(value = "待复核根节点") @ApiModelProperty(value = "待复核根节点")
private Integer rootIsForWaitReview; private Integer rootIsForWaitReview;
@ApiModelProperty(value = "物料原始单位(来自CAD)")
private String materialOriginalUnit;
private String materialNoAndProductType; private String materialNoAndProductType;
public String getMaterialNoAndProductType() { public String getMaterialNoAndProductType() {

View File

@ -137,6 +137,9 @@ public class CheckEBomException {
} else if (StrUtil.isNotBlank(vo.getNoticeNums()) && EBomExceptionStatusEnum.EXCEPT_NO_11.equalsValue(vo.getExceptionStatus())) { } else if (StrUtil.isNotBlank(vo.getNoticeNums()) && EBomExceptionStatusEnum.EXCEPT_NO_11.equalsValue(vo.getExceptionStatus())) {
vo.setExceptionStatus(EBomExceptionStatusEnum.OK.getValue()); vo.setExceptionStatus(EBomExceptionStatusEnum.OK.getValue());
} }
else if (!StrUtil.equals(vo.getMaterialUnit(), vo.getMaterialOriginalUnit())){
vo.setExceptionStatus(EBomExceptionStatusEnum.EXCEPT_NO_16.getValue());
}
} }
checkOther(); checkOther();