1、单位异常
This commit is contained in:
parent
ec0e175dfb
commit
5d1e9418f4
|
|
@ -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() {
|
||||||
|
|
|
||||||
|
|
@ -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();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue