From add5c816a5281cf6b1df4a0988e8b3a0c2b59bee Mon Sep 17 00:00:00 2001
From: whyclxw <810412026@qq.com>
Date: 星期三, 25 六月 2025 17:37:03 +0800
Subject: [PATCH] 电源表和电池信息表加入新的字段,添加,编辑需要修改

---
 src/main/java/com/whyc/controller/ExportFileController.java |   19 +++++++++++++++++--
 1 files changed, 17 insertions(+), 2 deletions(-)

diff --git a/src/main/java/com/whyc/controller/ExportFileController.java b/src/main/java/com/whyc/controller/ExportFileController.java
index 2038cb7..d0afccf 100644
--- a/src/main/java/com/whyc/controller/ExportFileController.java
+++ b/src/main/java/com/whyc/controller/ExportFileController.java
@@ -1,5 +1,7 @@
 package com.whyc.controller;
 
+import com.whyc.dto.Real.ExportTinfDataDto;
+import com.whyc.dto.Statistic.BattCompareStic;
 import com.whyc.dto.Statistic.MonStic;
 import com.whyc.service.ExportService;
 import io.swagger.annotations.Api;
@@ -9,6 +11,7 @@
 
 import javax.servlet.http.HttpServletRequest;
 import javax.servlet.http.HttpServletResponse;
+import java.io.IOException;
 import java.text.ParseException;
 
 @RestController
@@ -20,7 +23,19 @@
 
     @PostMapping("exportBattTinfStatistic")
     @ApiOperation(value = "鍗曡妭鏁伴噺缁熻瀵煎嚭锛�1.2.14锛�")
-    public void exportBattTinfStatistic(HttpServletRequest req, HttpServletResponse resp ) throws ParseException {
-        service.exportBattTinfStatistic(req,resp);
+    public void exportBattTinfStatistic(HttpServletRequest req, HttpServletResponse resp ,@RequestBody MonStic stic) throws ParseException {
+        service.exportBattTinfStatistic(req,resp,stic);
+    }
+
+    @PostMapping("exportTinfDataByTestRecordCount")
+    @ApiOperation(value = "鍘嗗彶娴嬭瘯鏁版嵁瀵煎嚭")
+    public void exportTinfDataByTestRecordCount(HttpServletRequest req, HttpServletResponse resp ,@RequestBody ExportTinfDataDto dto) throws ParseException, IOException {
+        service.exportTinfDataByTestRecordCount(req,resp,dto);
+    }
+
+    @PostMapping("exportBattCompare")
+    @ApiOperation(value = "钃勭數姹犵粍瀵规瘮鍒嗘瀽瀵煎嚭(2.5.1/2/3)")
+    public void exportBattCompare(HttpServletRequest req, HttpServletResponse resp ,@RequestBody BattCompareStic stic) throws ParseException, IOException {
+        service.exportBattCompare(req,resp,stic);
     }
 }
\ No newline at end of file

--
Gitblit v1.9.1