| | |
| | | return success(true); |
| | | } |
| | | |
| | | @PutMapping("/process-difference") |
| | | @Operation(summary = "处理盘点差异(按实盘数量调整库存)") |
| | | @Parameter(name = "id", description = "盘点任务编号", required = true) |
| | | @PreAuthorize("@ss.hasPermission('mes:wm-stock-taking-task:update')") |
| | | public CommonResult<Boolean> processStockTakingDifference(@RequestParam("id") Long id) { |
| | | stockTakingTaskService.processStockTakingDifference(id); |
| | | return success(true); |
| | | } |
| | | |
| | | @PutMapping("/cancel") |
| | | @Operation(summary = "取消盘点任务") |
| | | @Parameter(name = "id", description = "编号", required = true) |