| | |
| | | return success(true); |
| | | } |
| | | |
| | | @PostMapping("/scan") |
| | | @Operation(summary = "PDA 扫码盘点") |
| | | @PreAuthorize("@ss.hasPermission('mes:wm-stock-taking-task:update')") |
| | | public CommonResult<Long> scanStockTakingTask(@Valid @RequestBody MesWmStockTakingTaskScanReqVO scanReqVO) { |
| | | return success(stockTakingTaskService.scanStockTakingTask(scanReqVO)); |
| | | } |
| | | |
| | | @PostMapping("/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); |
| | | } |
| | | |
| | | // ==================== 拼接 VO ==================== |
| | | |
| | | private List<MesWmStockTakingTaskRespVO> buildTaskRespVOList(List<MesWmStockTakingTaskDO> list) { |