From 53bc276bdc4aaefc2a2ecadc472f2c2f18e93490 Mon Sep 17 00:00:00 2001
From: chenlu <1320612696@qq.com>
Date: 星期三, 26 十一月 2025 16:53:57 +0800
Subject: [PATCH] Merge branch 'master' of http://10.153.19.25:10105/r/ERP_override

---
 north-glass-erp/src/main/java/com/example/erp/controller/pp/ReportController.java |   31 +++++++++++++++++--------------
 1 files changed, 17 insertions(+), 14 deletions(-)

diff --git a/north-glass-erp/src/main/java/com/example/erp/controller/pp/ReportController.java b/north-glass-erp/src/main/java/com/example/erp/controller/pp/ReportController.java
index 9bf649e..1891742 100644
--- a/north-glass-erp/src/main/java/com/example/erp/controller/pp/ReportController.java
+++ b/north-glass-erp/src/main/java/com/example/erp/controller/pp/ReportController.java
@@ -40,34 +40,35 @@
         return Result.success(reportService.processCardProgressReportSv(orderId, columns));
     }
     @ApiOperation("娴佺▼鍗¤繘搴︽眹鎬�")
-    @SaCheckPermission("selectOrder.search")
     @PostMapping("/processCardProgressCollect/{orderId}")
     public Result processCardProgressCollect(@PathVariable String orderId, @RequestBody List<String> columns) {
         return Result.success(reportService.processCardProgressCollectSv(orderId, columns));
     }
 
     @ApiOperation("璺ㄥ伐搴忔鐮�")
-    @PostMapping("/crossProcessBreaking/{pageNum}/{pageSize}/{selectDate}")
+    @PostMapping("/crossProcessBreaking/{pageNum}/{pageSize}/{selectDate}/{reportTime}")
     public Result getOrderReport(@PathVariable Integer pageNum,
                                  @PathVariable Integer pageSize,
                                  @PathVariable List<String> selectDate,
+                                 @PathVariable String reportTime,
                                  @RequestBody CrossProcessBreakingDTO crossProcessBreakingDTO) {
-        return Result.success(reportService.crossProcessBreakingSv(pageNum, pageSize, selectDate, crossProcessBreakingDTO));
+        return Result.success(reportService.crossProcessBreakingSv(pageNum, pageSize, selectDate,reportTime, crossProcessBreakingDTO));
 
     }
 
     @ApiOperation("闈炶法宸ュ簭娆$牬")
-    @PostMapping("/notCrossProcessBreaking/{pageNum}/{pageSize}/{selectDate}")
+    @PostMapping("/notCrossProcessBreaking/{pageNum}/{pageSize}/{selectDate}/{reportTime}")
     public Result notCrossProcessBreaking(@PathVariable Integer pageNum,
                                  @PathVariable Integer pageSize,
                                  @PathVariable List<String> selectDate,
+                                 @PathVariable String reportTime,
                                  @RequestBody CrossProcessBreakingDTO crossProcessBreakingDTO) {
-        return Result.seccess(reportService.notCrossProcessBreakingSv(pageNum, pageSize, selectDate, crossProcessBreakingDTO));
+        return Result.success(reportService.notCrossProcessBreakingSv(pageNum, pageSize, selectDate,reportTime, crossProcessBreakingDTO));
 
     }
 
     @ApiOperation("鍦ㄥ埗鍝佹姤琛�")
-    @PostMapping("/workInProgress/{pageNum}/{pageSize}/{orderId}/{inputProject}/{selectProcesses}/{optionVal}")
+    @PostMapping("/workInProgress/{pageNum}/{pageSize}/{orderId}/{inputProject}/{selectProcesses}/{optionVal}/{terminationVals}")
     public Result workInProgress(
             @PathVariable Integer pageNum,
             @PathVariable Integer pageSize,
@@ -75,8 +76,9 @@
             @PathVariable String inputProject,
             @PathVariable String selectProcesses,
             @PathVariable String optionVal,
+            @PathVariable String terminationVals,
             @RequestBody WorkInProgressDTO workInProgressDTO) {
-        return Result.success(reportService.workInProgressSv(pageNum, pageSize, orderId, inputProject, selectProcesses,optionVal, workInProgressDTO));
+        return Result.success(reportService.workInProgressSv(pageNum, pageSize, orderId, inputProject, selectProcesses,optionVal,terminationVals, workInProgressDTO));
 
     }
 
@@ -107,14 +109,14 @@
     }
 
     @ApiOperation("娆$牬鏄庣粏鎶ヨ〃")
-    @PostMapping("/damageReport/{pageNum}/{pageSize}/{selectTime1}/{selectTime2}")
+    @PostMapping("/damageReport/{pageNum}/{pageSize}/{selectDate}/{reportTime}")
     public Result damageReport(
             @PathVariable Integer pageNum,
             @PathVariable Integer pageSize,
-            @PathVariable String selectTime1,
-            @PathVariable String selectTime2,
+            @PathVariable List<String> selectDate,
+            @PathVariable String reportTime,
             @RequestBody DamageReportDTO damageReportDTO) {
-        return Result.success(reportService.selectDamageReportSv(pageNum, pageSize, selectTime1, selectTime2, damageReportDTO));
+        return Result.success(reportService.selectDamageReportSv(pageNum, pageSize, selectDate,reportTime, damageReportDTO));
 
     }
 
@@ -160,7 +162,7 @@
 
     @ApiOperation("鐢熶骇鍙戣揣杩涘害")
     @PostMapping("/productionSchedule/{orderId}")
-    public Result productionSchedule(@PathVariable String orderId, @RequestBody List<Integer> columns) {
+    public Result productionSchedule(@PathVariable String orderId, @RequestBody List<String> columns) {
         return Result.success(reportService.productionScheduleSv(orderId, columns));
     }
 
@@ -328,7 +330,7 @@
     }
 
     @ApiOperation("鍦ㄥ埗鍝佹眹鎬绘姤琛�")
-    @PostMapping("/workInProgressCombination/{pageNum}/{pageSize}/{orderId}/{inputProject}/{selectProcesses}/{optionVal}")
+    @PostMapping("/workInProgressCombination/{pageNum}/{pageSize}/{orderId}/{inputProject}/{selectProcesses}/{optionVal}/{terminationVal}")
     public Result workInProgressCombination(
             @PathVariable Integer pageNum,
             @PathVariable Integer pageSize,
@@ -336,8 +338,9 @@
             @PathVariable String inputProject,
             @PathVariable String selectProcesses,
             @PathVariable String optionVal,
+            @PathVariable String terminationVal,
             @RequestBody WorkInProgressDTO workInProgressDTO) {
-        return Result.success(reportService.workInProgressCombinationSv(pageNum, pageSize, orderId, inputProject,selectProcesses,optionVal, workInProgressDTO));
+        return Result.success(reportService.workInProgressCombinationSv(pageNum, pageSize, orderId, inputProject,selectProcesses,optionVal,terminationVal, workInProgressDTO));
 
     }
 

--
Gitblit v1.8.0