| | |
| | | if (Objects.isNull(params)) { |
| | | return R.error("参数不能为空!!"); |
| | | } |
| | | return mobileService.getItemByContainer(params); |
| | | if (!Objects.isNull(params.get("type")) && params.get("type").equals("unbind")) { |
| | | return mobileService.getUnItemByContainer(params); |
| | | } else { |
| | | return mobileService.getItemByContainer(params); |
| | | } |
| | | } |
| | | |
| | | @PreAuthorize("hasAuthority('manager:waitPakin:update')") |
| | |
| | | return R.error("托盘码不能为空!!"); |
| | | } |
| | | if (Objects.isNull(param.getItems()) || param.getItems().isEmpty()) { |
| | | return R.error("跟踪码不能为空!!"); |
| | | return R.error("解绑明细不能为空!!"); |
| | | } |
| | | return R.ok(mobileService.unBind(param)); |
| | | } |