| | |
| | | return AjaxResult.success(result); |
| | | } |
| | | |
| | | @PostMapping("frozenStorageQuality") |
| | | @Log(title = "采购入库-库存管理-冻结不合格产品", businessType = BusinessType.UPDATE) |
| | | public AjaxResult frozenStorageQuality(@RequestBody List<Integer> frozenIds) { |
| | | boolean result = procurementRecordService.frozenStorageQuality(frozenIds); |
| | | if (result) { |
| | | return AjaxResult.success(); |
| | | } |
| | | return AjaxResult.error(); |
| | | } |
| | | |
| | | @PostMapping("thawStorageQuality") |
| | | @Log(title = "采购入库-库存管理-解冻不合格产品", businessType = BusinessType.UPDATE) |
| | | public AjaxResult thawStorageQuality(@RequestBody List<Integer> thawIds) { |
| | | boolean result = procurementRecordService.thawStorageQuality(thawIds); |
| | | if (result) { |
| | | return AjaxResult.success(); |
| | | } |
| | | return AjaxResult.error(); |
| | | } |
| | | |
| | | @PostMapping("frozenFinishedQuality") |
| | | @Log(title = "采购入库-库存管理-冻结不合格产品", businessType = BusinessType.UPDATE) |
| | | public AjaxResult frozenFinishedQuality(@RequestBody List<Integer> frozenIds) { |
| | | boolean result = procurementRecordService.frozenFinishedQuality(frozenIds); |
| | | if (result) { |
| | | return AjaxResult.success(); |
| | | } |
| | | return AjaxResult.error(); |
| | | } |
| | | |
| | | @PostMapping("thawFinishedQuality") |
| | | @Log(title = "采购入库-库存管理-解冻不合格产品", businessType = BusinessType.UPDATE) |
| | | public AjaxResult thawFinishedQuality(@RequestBody List<Integer> thawIds) { |
| | | boolean result = procurementRecordService.thawFinishedQuality(thawIds); |
| | | if (result) { |
| | | return AjaxResult.success(); |
| | | } |
| | | return AjaxResult.error(); |
| | | } |
| | | |
| | | |
| | | |
| | | @GetMapping("/listPageCopyByProduction") |
| | | @Log(title = "生产入库-库存管理-分页查询", businessType = BusinessType.OTHER) |
| | | public AjaxResult listPageCopyByProduction(Page page, ProcurementPageDto procurementDto) { |