From dd05175f7d1eaed08cdbe030124f470f69767b2e Mon Sep 17 00:00:00 2001
From: chenlu <1320612696@qq.com>
Date: 星期四, 08 八月 2024 19:46:48 +0800
Subject: [PATCH] 流程卡修改样式,成品便签添加根据编号一键修改,修改流程卡排序方式,添加配置是否查询样品订单

---
 north-glass-erp/src/main/java/com/example/erp/controller/pp/ReportController.java |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 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 5a881f3..07627c2 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
@@ -261,13 +261,21 @@
 
     }
 
-    @ApiOperation("璁㈠崟鎺掍骇璁″垝")
+    @ApiOperation("璁㈠崟鎺掍骇璁″垝瀵煎嚭")
     @PostMapping("/exportScheduleReport")
     public void exportScheduleReport(HttpServletResponse response,
                                      @RequestBody Map<String, Object> dates
     ) throws IOException, IllegalAccessException, InstantiationException {
         //鍙傛暟锛氱浉搴旂殑鏁版嵁锛屽疄浣撶被淇℃伅锛岀浉搴旂殑鏂规硶锛堟暟鎹幏鍙栵級锛岀敓鎴愮殑excel鍚嶅瓧
-        System.out.println(dates);
         DownExcel.download(response, ScheduleProductionScheduleDTO.class, reportService.exportScheduleReportSv(dates), "ScheduleProduction");
     }
+
+    @ApiOperation("鐝粍浜ч噺瀵煎嚭")
+    @PostMapping("/exportTeamOutput")
+    public void exportTeamOutput(HttpServletResponse response,
+                                     @RequestBody Map<String, Object> dates
+    ) throws IOException, IllegalAccessException, InstantiationException {
+        //鍙傛暟锛氱浉搴旂殑鏁版嵁锛屽疄浣撶被淇℃伅锛岀浉搴旂殑鏂规硶锛堟暟鎹幏鍙栵級锛岀敓鎴愮殑excel鍚嶅瓧
+        DownExcel.download(response, TeamOutputDTO.class, reportService.exportTeamOutputSv(dates), "TeamOutput");
+    }
 }

--
Gitblit v1.8.0