| | |
| | | * 批量重新入库 |
| | | */ |
| | | @PostMapping(value = "/batch/receipt") |
| | | public ResultVO receiptBatch(Authentication authentication, @RequestBody Long[] ids){ |
| | | return safeMaterialDetailService.receiptBatch(ids); |
| | | public ResultVO receiptBatch(Authentication authentication ,@Validated @RequestBody ParamForm paramForm){ |
| | | return safeMaterialDetailService.receiptBatch(paramForm); |
| | | } |
| | | /** |
| | | * 删除-单条 |
| | |
| | | * @return |
| | | */ |
| | | @PostMapping(value = "/deleteBatch") |
| | | public ResultVO deleteBatch(Authentication authentication,@RequestBody Long[] ids){ |
| | | return safeMaterialDetailService.deleteBatch(ids); |
| | | public ResultVO deleteBatch(Authentication authentication,@Validated @RequestBody ParamForm paramForm){ |
| | | return safeMaterialDetailService.deleteBatch(paramForm); |
| | | } |
| | | |
| | | |