From 7a8d50965cb69ecc348a6b11d902409628012cd0 Mon Sep 17 00:00:00 2001 From: whyclxw <810412026@qq.com> Date: 星期三, 25 六月 2025 17:15:10 +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