| | |
| | | return R.error("参数不能为空!!"); |
| | | } |
| | | if (org.apache.commons.lang3.StringUtils.isBlank(waitPakin.getBarcode())) { |
| | | return R.error("托盘码不能为空!!"); |
| | | return R.error("料箱码不能为空!!"); |
| | | } |
| | | if (Objects.isNull(waitPakin.getItems()) || waitPakin.getItems().isEmpty()) { |
| | | return R.error("跟踪码不能为空!!"); |
| | |
| | | return R.error("参数不能为空!!"); |
| | | } |
| | | if (org.apache.commons.lang3.StringUtils.isBlank(param.getBarcode())) { |
| | | return R.error("托盘码不能为空!!"); |
| | | return R.error("料箱码不能为空!!"); |
| | | } |
| | | if (Objects.isNull(param.getItems()) || param.getItems().isEmpty()) { |
| | | return R.error("解绑明细不能为空!!"); |
| | |
| | | } |
| | | |
| | | |
| | | @ApiOperation("获取不良托盘物料") |
| | | @ApiOperation("获取不良料箱物料") |
| | | @PostMapping("/defect/matnrs") |
| | | @PreAuthorize("hasAuthority('manager:asnOrder:list')") |
| | | public R getAsnDefectItemByCode(@RequestBody Map<String, Object> map) { |