| | |
| | | if (Objects.isNull(param.getAreaId())) { |
| | | throw new CoolException("库区不能为空!!"); |
| | | } |
| | | if (param.getLocId().isEmpty() || param.getTypeId().isEmpty()) { |
| | | throw new CoolException("库位类型或库位不能为空!!"); |
| | | } |
| | | if (Objects.isNull(param.getGroupId()) || param.getMatnrId().isEmpty()) { |
| | | throw new CoolException("物料或物料分类不能为空!!"); |
| | | } |
| | | // if (Objects.isNull(param.getTypeId()) || Objects.isNull(param.getLocId()) || param.getLocId().isEmpty() || param.getTypeId().isEmpty()) { |
| | | // throw new CoolException("库位类型或库位不能为空!!"); |
| | | // } |
| | | // if (Objects.isNull(param.getGroupId()) || Objects.isNull(param.getMatnrId()) || param.getMatnrId().isEmpty()) { |
| | | // throw new CoolException("物料或物料分类不能为空!!"); |
| | | // } |
| | | return locAreaMatRelaService.binMatnrs(param); |
| | | } |
| | | |