From 69a25cd577d5639f2869bcf80f498b373e80137e Mon Sep 17 00:00:00 2001
From: 于杰 <1210123631@qq.com>
Date: 星期三, 17 十二月 2025 10:43:44 +0800
Subject: [PATCH] 修改旋转逻辑,增加辅助旋转功能

---
 north-glass-erp/src/main/java/com/example/erp/controller/AppController.java |   17 +++++++++++++++--
 1 files changed, 15 insertions(+), 2 deletions(-)

diff --git a/north-glass-erp/src/main/java/com/example/erp/controller/AppController.java b/north-glass-erp/src/main/java/com/example/erp/controller/AppController.java
index 039cc6c..38f1f81 100644
--- a/north-glass-erp/src/main/java/com/example/erp/controller/AppController.java
+++ b/north-glass-erp/src/main/java/com/example/erp/controller/AppController.java
@@ -9,6 +9,7 @@
 import com.example.erp.service.mm.FinishedGoodsInventoryService;
 import com.example.erp.service.mm.MaterialInventoryService;
 import com.example.erp.service.pp.ReportService;
+import com.example.erp.service.pp.ReportingWorkService;
 import com.example.erp.service.sd.DeliveryService;
 import com.example.erp.service.sd.OrderService;
 import io.swagger.annotations.Api;
@@ -30,6 +31,7 @@
     private final MaterialInventoryService materialInventoryService;
     private final FinishedGoodsInventoryService finishedGoodsInventoryService;
     private final ReportService reportService;
+    private final ReportingWorkService reportingWorkService;
 
     @ApiOperation("璁㈠崟鎶ヨ〃")
     @PostMapping("/getOrderList")
@@ -65,12 +67,14 @@
 
     @ApiOperation("鍙叆搴撶殑鎴愬搧鏌ヨ鎺ュ彛")
     @PostMapping("/getSelectWarehousingList")
-    public Result getSelectWarehousingList(@RequestBody String processId){
-        return Result.success(finishedGoodsInventoryService.getSelectWarehousingApp(processId));
+    @SaCheckPermission("createProductStock.search")
+    public Result getSelectWarehousingList(@RequestBody Map<String,String> map){
+        return Result.success(finishedGoodsInventoryService.getSelectWarehousingApp(map.get("processId")));
     }
 
     @ApiOperation("鎴愬搧鍏ュ簱鎺ュ彛")
     @PostMapping("/addSelectWarehousing")
+    @SaCheckPermission("createProductStock.add")
     public Result addSelectWarehousing( @RequestBody Map<String,Object> object){
         return Result.success(finishedGoodsInventoryService.addSelectWarehousing(object));
 
@@ -78,13 +82,22 @@
 
     @ApiOperation("鍙彂璐х殑鎴愬搧鏌ヨ鎺ュ彛")
     @PostMapping("/getSelectDeliveryDetailList")
+    @SaCheckPermission("finishedProductOut.search")
     public Result getSelectDeliveryDetailList(){
         return Result.success(finishedGoodsInventoryService.getSelectDeliveryDetailApp());
     }
 
     @ApiOperation("鎴愬搧鍑哄簱鎺ュ彛")
     @PostMapping("/addDeliveryDetail")
+    @SaCheckPermission("finishedProductOut.add")
     public Result addDeliveryDetail( @RequestBody Map<String,Object>  object){
         return Result.success(finishedGoodsInventoryService.addDeliveryDetail(object));
     }
+
+    @ApiOperation("app澶氫釜娴佺▼鍗℃姤宸�")
+    @PostMapping("/addWorkInProgress")
+    @SaCheckPermission("addReportingWork.add")
+    public Result addWorkInProgress(@RequestBody Map<String,Object> object){
+        return reportingWorkService.addWorkInProgress(object);
+    }
 }

--
Gitblit v1.8.0