| | |
| | | } |
| | | |
| | | @RequestMapping("/locDdetl/adjust/start") |
| | | @ManagerAuth(memo = "库存调整") |
| | | @ManagerAuth(memo = "") |
| | | public R locDetlAdjustStart(@RequestBody LocDetlAdjustParam param) { |
| | | workService.adjustLocDetl(param, getUserId()); |
| | | return R.ok("库存调整成功"); |
| | |
| | | workService.completeWrkMast(workNo, getUserId()); |
| | | return R.ok("工作档已完成"); |
| | | } else if (type == 2) { |
| | | workService.cancelWrkMast(workNo, getUserId()); |
| | | workService.cancelWrkMast(workNo, getUserId(),2); |
| | | return R.ok("工作档已取消"); |
| | | } else if (type == 5) { |
| | | workService.cancelWrkMast(workNo, getUserId(),5); |
| | | return R.ok("工作档已取消"); |
| | | } |
| | | return R.ok(); |
| | | } |
| | | |
| | | @RequestMapping("/hand/control/wrkMast/changeType") |
| | | @ManagerAuth(memo = "切换调拨方式") |
| | | public R handControlWrkMastChangeType(@RequestParam String workNo){ |
| | | workService.changeType(workNo, getUserId()); |
| | | return R.ok(); |
| | | } |
| | | } |