From 17d65c77c6fedf1b51afec166c5a9735c6e4d38e Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期一, 26 一月 2026 16:48:45 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/jtwy' into jtwy
---
src/main/java/com/ruoyi/procurementrecord/controller/ProcurementRecordController.java | 46 ++++++++++++++++++++++++++++++++++++++++++++--
1 files changed, 44 insertions(+), 2 deletions(-)
diff --git a/src/main/java/com/ruoyi/procurementrecord/controller/ProcurementRecordController.java b/src/main/java/com/ruoyi/procurementrecord/controller/ProcurementRecordController.java
index 5234b3f..195b9c2 100644
--- a/src/main/java/com/ruoyi/procurementrecord/controller/ProcurementRecordController.java
+++ b/src/main/java/com/ruoyi/procurementrecord/controller/ProcurementRecordController.java
@@ -156,6 +156,48 @@
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 = "閲囪喘鍏ュ簱-搴撳瓨绠$悊-瑙e喕涓嶅悎鏍间骇鍝�", 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 = "閲囪喘鍏ュ簱-搴撳瓨绠$悊-瑙e喕涓嶅悎鏍间骇鍝�", 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) {
@@ -237,8 +279,8 @@
@GetMapping("/listPageProductionStock")
@Log(title = "搴撳瓨绠$悊-鎴愬搧搴撳瓨", businessType = BusinessType.OTHER)
- public AjaxResult listPageProductionStock(Page page) {
- IPage<ProductModel> result = procurementRecordService.listPageProductionStock(page);
+ public AjaxResult listPageProductionStock(Page page, ProcurementPageDto procurementDto) {
+ IPage<ProductModel> result = procurementRecordService.listPageProductionStock(page,procurementDto);
return AjaxResult.success(result);
}
}
--
Gitblit v1.9.3