| | |
| | | return mobileService.getDeltByCode(code); |
| | | } |
| | | |
| | | |
| | | @PreAuthorize("hasAuthority('manager:waitPakin:update')") |
| | | @ApiOperation("组拖") |
| | | @PostMapping("/waitPakin/merge") |
| | |
| | | return R.error("跟踪码不能为空!!"); |
| | | } |
| | | return R.ok(mobileService.unBind(param)); |
| | | |
| | | } |
| | | |
| | | @ApiOperation("报检") |
| | | @GetMapping("/asnOrder/inspect/{code}") |
| | | @PreAuthorize("hasAuthority('manager:waitPakin:list')") |
| | | public R getAsnOdrers(@PathVariable String code) { |
| | | if (Objects.isNull(code)) { |
| | | throw new CoolException("参数不能为空!!"); |
| | | } |
| | | return mobileService.inspect(code, getLoginUserId()); |
| | | } |
| | | |
| | | @ApiOperation("提交报检") |
| | | @GetMapping("/inspect/confirm/{id}") |
| | | @PreAuthorize("hasAuthority('manager:waitPakin:list')") |
| | | public R confirmInspect(@PathVariable String id) { |
| | | if (Objects.isNull(id)) { |
| | | throw new CoolException("参数不能为空!"); |
| | | } |
| | | return mobileService.confirmIspt(id); |
| | | } |
| | | } |