Merge remote-tracking branch 'origin/feature/DM/nflg-bom' into feature/DM/nflg-bom
This commit is contained in:
commit
fed8158567
|
|
@ -94,7 +94,7 @@ public class OptionalMbomApi extends BaseApi {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if(Objects.isNull(query.getMaterialNo()) || Objects.isNull(query.getDrawingNo()) ){
|
if(StrUtil.isBlank(query.getMaterialNo()) && StrUtil.isBlank(query.getDrawingNo()) ){
|
||||||
throw new NflgBusinessException(STATE.Error, "物料或图号不能同时为空" );
|
throw new NflgBusinessException(STATE.Error, "物料或图号不能同时为空" );
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue