Merge remote-tracking branch 'origin/feature/DM/nflg-bom' into feature/DM/nflg-bom

This commit is contained in:
大米 2024-01-15 16:22:50 +08:00
commit fed8158567
1 changed files with 1 additions and 1 deletions

View File

@ -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, "物料或图号不能同时为空" );
} }