From a12834e87a110fbf1414e24eb574f2e87b29e03c Mon Sep 17 00:00:00 2001
From: guoyujie <guoyujie@ng.com>
Date: 星期一, 11 八月 2025 09:10:01 +0800
Subject: [PATCH] 提交装箱打印添加批次

---
 north-glass-erp/src/main/java/com/example/erp/controller/pp/ReportingWorkController.java |   41 +++++++++++++++++++++++++++++++++--------
 1 files changed, 33 insertions(+), 8 deletions(-)

diff --git a/north-glass-erp/src/main/java/com/example/erp/controller/pp/ReportingWorkController.java b/north-glass-erp/src/main/java/com/example/erp/controller/pp/ReportingWorkController.java
index ea96099..5cf3fd0 100644
--- a/north-glass-erp/src/main/java/com/example/erp/controller/pp/ReportingWorkController.java
+++ b/north-glass-erp/src/main/java/com/example/erp/controller/pp/ReportingWorkController.java
@@ -14,6 +14,7 @@
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.web.bind.annotation.*;
 
+import java.util.List;
 import java.util.Map;
 import java.sql.Date;
 @RestController
@@ -73,24 +74,26 @@
 
     @ApiOperation("鎶ュ伐鏌ヨ鎺ュ彛")
     @SaCheckPermission("selectReportingWorks.search")
-    @PostMapping  ("/selectReportingWork/{pageNum}/{pageSize}/{selectTime1}/{selectTime2}/{orderId}")
+    @PostMapping  ("/selectReportingWork/{pageNum}/{pageSize}/{selectDate}/{orderId}")
     public Result selectReportingWork(
             @PathVariable Integer pageNum,
             @PathVariable Integer pageSize,
-            @PathVariable Date selectTime1,
-            @PathVariable Date selectTime2,
+            @PathVariable List<String> selectDate,
             @PathVariable String orderId,
             @RequestBody ReportingWork reportingWork){
-        return Result.seccess(reportingWorkService.selectReportingWorkSv(pageNum,pageSize,selectTime1,selectTime2,orderId,reportingWork));
+        return Result.seccess(reportingWorkService.selectReportingWorkSv(pageNum,pageSize,selectDate,orderId,reportingWork));
+
 
     }
 
     @ApiOperation("鍒犻櫎鎶ュ伐鎺ュ彛")
     @SaCheckPermission("selectReportingWorks.delete")
     @PostMapping("/deleteWork/{reportingWorkId}/{processId}/{thisProcess}/{userId}/{userName}")
-    public Result deleteWork(@PathVariable String reportingWorkId,@PathVariable String processId,
-                             @PathVariable String thisProcess,@PathVariable String userId
-    ,@PathVariable String userName){
+    public Result deleteWork(@PathVariable String reportingWorkId,
+                             @PathVariable String processId,
+                             @PathVariable String thisProcess,
+                             @PathVariable String userId
+            ,@PathVariable String userName){
 
         return Result.seccess(reportingWorkService.deleteWorkSv(reportingWorkId,processId,thisProcess,userId,userName));
 
@@ -109,6 +112,13 @@
             @RequestBody ReportingWork reportingWork){
         return Result.seccess(reportingWorkService.selectQualityTestingSv(pageNum,pageSize,selectTime1,selectTime2,state,processId,reportingWork));
 
+    }
+
+    @ApiOperation("APP璐ㄦ瀹℃牳鏌ヨ鎺ュ彛")
+    @SaCheckPermission("qualityInspectionReview.search")
+    @PostMapping ("qualityReviewSearch")
+    public Result qualityReviewSearch(){
+        return Result.seccess(reportingWorkService.qualityReviewSearchSv());
     }
 
     @ApiOperation("璐ㄦ瀹℃牳瀹℃牳")
@@ -169,4 +179,19 @@
         return  Result.seccess(reportingWorkService.selectShiftQuantitySv(reportingWork));
     }
 
-}
+    @ApiOperation("鎵嬫満鏌ヨ鏈彮缁勬姤宸ヨ褰�")
+    @PostMapping("/selectReportingWorkRecordByPhone")
+    public Result selectReportingWorkRecordByPhone(@RequestBody Map<String,Object> selectPam)  {
+        return Result.seccess(reportingWorkService.selectReportingWorkRecordByPhoneSv(selectPam));
+    }
+
+@ApiOperation("鎵嬫満鏌ヨ鏈伐搴忚澶�")
+    @PostMapping("/selectEquipmentByProcess/{process}")
+    public Result selectEquipmentByProcess(@PathVariable String process)    {
+        return Result.seccess(reportingWorkService.selectEquipmentByProcessSv(process));
+    }@ApiOperation("鎶ュ伐鍏ュ簱鎺ュ彛")
+    @PostMapping("/saveWorkStorage")
+    public Result saveWorkStorage( @RequestBody Map<String,Object>  object){
+        return Result.seccess(reportingWorkService.saveWorkStorage(object));
+
+    }}

--
Gitblit v1.8.0