| | |
| | | return success(true); |
| | | } |
| | | |
| | | @PostMapping("/adjust") |
| | | @Operation(summary = "库存调整(自定义出入库)") |
| | | @PostMapping("/adjust-in") |
| | | @Operation(summary = "自定义入库") |
| | | @PreAuthorize("@ss.hasPermission('mes:wm-material-stock:adjust')") |
| | | public CommonResult<Long> adjustMaterialStock(@Valid @RequestBody MesWmMaterialStockAdjustReqVO reqVO) { |
| | | return success(materialStockService.adjustMaterialStock(reqVO)); |
| | | public CommonResult<Long> adjustMaterialStockIn(@Valid @RequestBody MesWmMaterialStockAdjustReqVO reqVO) { |
| | | return success(materialStockService.adjustMaterialStockIn(reqVO)); |
| | | } |
| | | |
| | | @PostMapping("/adjust-out") |
| | | @Operation(summary = "自定义出库") |
| | | @PreAuthorize("@ss.hasPermission('mes:wm-material-stock:adjust')") |
| | | public CommonResult<Long> adjustMaterialStockOut(@Valid @RequestBody MesWmMaterialStockAdjustReqVO reqVO) { |
| | | return success(materialStockService.adjustMaterialStockOut(reqVO)); |
| | | } |
| | | |
| | | @GetMapping("/export-excel") |