From 02ccfc21d5d4f767bbd92ecda89cdfcc3283728c Mon Sep 17 00:00:00 2001 From: whycxzp <glperry@163.com> Date: 星期三, 11 六月 2025 08:38:26 +0800 Subject: [PATCH] Merge branch 'master' of http://118.89.139.230:10101/r/powerIntelligenceSystem into master --- src/main/java/com/whyc/controller/ExportFileController.java | 26 ++++++++++++++++++++++++++ 1 files changed, 26 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/whyc/controller/ExportFileController.java b/src/main/java/com/whyc/controller/ExportFileController.java new file mode 100644 index 0000000..00e6f84 --- /dev/null +++ b/src/main/java/com/whyc/controller/ExportFileController.java @@ -0,0 +1,26 @@ +package com.whyc.controller; + +import com.whyc.dto.Statistic.MonStic; +import com.whyc.service.ExportService; +import io.swagger.annotations.Api; +import io.swagger.annotations.ApiOperation; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.*; + +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpServletResponse; +import java.text.ParseException; + +@RestController +@Api(tags = "瀵煎嚭鏂囦欢") +@RequestMapping("export") +public class ExportFileController { + @Autowired + private ExportService service; + + @PostMapping("exportBattTinfStatistic") + @ApiOperation(value = "鍗曡妭鏁伴噺缁熻瀵煎嚭锛�1.2.14锛�") + public void exportBattTinfStatistic(HttpServletRequest req, HttpServletResponse resp ,@RequestBody MonStic stic) throws ParseException { + service.exportBattTinfStatistic(req,resp,stic); + } +} \ No newline at end of file -- Gitblit v1.9.1