| | |
| | | return mobileService.taskGetLocs(code); |
| | | } |
| | | |
| | | @ApiOperation("一键收货") |
| | | @PostMapping("/complete/{id}") |
| | | @PreAuthorize("hasAuthority('manager:asnOrder:update')") |
| | | public R completeOrder(@PathVariable Long id) { |
| | | if (Objects.isNull(id)) { |
| | | return R.error("参数不能为空!!"); |
| | | } |
| | | return mobileService.completeOrder(id, getLoginUserId()); |
| | | } |
| | | |
| | | } |
| | |
| | | R taskToStock(String code); |
| | | |
| | | R taskGetLocs(String code) throws Exception; |
| | | |
| | | R completeOrder(Long id, Long loginUserId); |
| | | } |
| | |
| | | // //日志表操作 |
| | | // operateOrderLogs(asnOrder); |
| | | // } |
| | | return R.ok("操作成功"); |
| | | return R.ok(asnOrder); |
| | | } |
| | | |
| | | /** |
| | |
| | | return R.ok(); |
| | | } |
| | | |
| | | @Override |
| | | public R completeOrder(Long id, Long loginUserId) { |
| | | return asnOrderMapper.completeOrder(id, loginUserId); |
| | | } |
| | | |
| | | /** |
| | | * 获取ReceiptDetlsDtos |
| | | */ |