From e00b54ec7322cf7cba5883e17f2e2843f71b8833 Mon Sep 17 00:00:00 2001
From: chenlu <1320612696@qq.com>
Date: 星期四, 20 十一月 2025 17:05:54 +0800
Subject: [PATCH] Merge branch 'master' of http://bore.pub:10439/r/ERP_override

---
 north-glass-erp/src/main/java/com/example/erp/controller/pp/ReportController.java |   37 +++++++++++++++++++++++++++----------
 1 files changed, 27 insertions(+), 10 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 487e5ed..411f170 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,7 +40,6 @@
         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));
@@ -56,8 +55,18 @@
 
     }
 
+    @ApiOperation("闈炶法宸ュ簭娆$牬")
+    @PostMapping("/notCrossProcessBreaking/{pageNum}/{pageSize}/{selectDate}")
+    public Result notCrossProcessBreaking(@PathVariable Integer pageNum,
+                                 @PathVariable Integer pageSize,
+                                 @PathVariable List<String> selectDate,
+                                 @RequestBody CrossProcessBreakingDTO crossProcessBreakingDTO) {
+        return Result.success(reportService.notCrossProcessBreakingSv(pageNum, pageSize, selectDate, 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,
@@ -65,8 +74,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));
 
     }
 
@@ -97,14 +107,13 @@
     }
 
     @ApiOperation("娆$牬鏄庣粏鎶ヨ〃")
-    @PostMapping("/damageReport/{pageNum}/{pageSize}/{selectTime1}/{selectTime2}")
+    @PostMapping("/damageReport/{pageNum}/{pageSize}/{selectDate}")
     public Result damageReport(
             @PathVariable Integer pageNum,
             @PathVariable Integer pageSize,
-            @PathVariable String selectTime1,
-            @PathVariable String selectTime2,
+            @PathVariable List<String> selectDate,
             @RequestBody DamageReportDTO damageReportDTO) {
-        return Result.success(reportService.selectDamageReportSv(pageNum, pageSize, selectTime1, selectTime2, damageReportDTO));
+        return Result.success(reportService.selectDamageReportSv(pageNum, pageSize, selectDate, damageReportDTO));
 
     }
 
@@ -150,7 +159,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));
     }
 
@@ -204,6 +213,13 @@
     public void exportCrossProcessBreaking(HttpServletResponse response, @RequestBody List<LocalDate> dates) throws IOException, IllegalAccessException, InstantiationException {
         //鍙傛暟锛氱浉搴旂殑鏁版嵁锛屽疄浣撶被淇℃伅锛岀浉搴旂殑鏂规硶锛堟暟鎹幏鍙栵級锛岀敓鎴愮殑excel鍚嶅瓧
         DownExcel.download(response, CrossProcessBreakingDTO.class, reportService.exportCrossProcessBreakingSv(dates), "CrossProcessBreaking");
+    }
+
+    @ApiOperation("闈炶法宸ュ簭娆$牬鎶ヨ〃瀵煎嚭")
+    @PostMapping("/exportNotCrossProcessBreaking")
+    public void exportNotCrossProcessBreaking(HttpServletResponse response, @RequestBody List<LocalDate> dates) throws IOException, IllegalAccessException, InstantiationException {
+        //鍙傛暟锛氱浉搴旂殑鏁版嵁锛屽疄浣撶被淇℃伅锛岀浉搴旂殑鏂规硶锛堟暟鎹幏鍙栵級锛岀敓鎴愮殑excel鍚嶅瓧
+        DownExcel.download(response, CrossProcessBreakingDTO.class, reportService.exportNotCrossProcessBreakingSv(dates), "CrossProcessBreaking");
     }
 
     @ApiOperation("娆$牬鏄庣粏鎶ヨ〃瀵煎嚭")
@@ -311,7 +327,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,
@@ -319,8 +335,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