| | |
| | | if (Objects.isNull(param)) { |
| | | throw new CoolException("参数不能为空!!!"); |
| | | } |
| | | if (!StringUtils.isBlank(param.get("locTypeId").toString())) { |
| | | if (!StringUtils.isBlank(param.get("typeId").toString())) { |
| | | throw new CoolException("库位类型不能为空!!"); |
| | | } |
| | | if (!StringUtils.isBlank(param.get("areaMatId").toString())) { |
| | |
| | | if (Objects.isNull(param)) { |
| | | throw new CoolException("参数不能为空!!"); |
| | | } |
| | | if (Objects.isNull(param.getAreaId())) { |
| | | throw new CoolException("库区不能为空!!"); |
| | | } |
| | | if (Objects.isNull(param.getWarehouseId())) { |
| | | throw new CoolException("仓库不能为空!!"); |
| | | } |
| | | // if (Objects.isNull(param.getAreaId())) { |
| | | // throw new CoolException("库区不能为空!!"); |
| | | // } |
| | | // if (Objects.isNull(param.getWarehouseId())) { |
| | | // throw new CoolException("仓库不能为空!!"); |
| | | // } |
| | | if (Objects.isNull(param.getAreaMatId())) { |
| | | throw new CoolException("主单ID不能为空!!"); |
| | | } |