From d19e91bcc4ed9ab08e8be375fb5fc0f7e874a6a9 Mon Sep 17 00:00:00 2001 From: whycxzp <glperry@163.com> Date: 星期三, 30 四月 2025 18:17:44 +0800 Subject: [PATCH] 测试调整格式 --- src/main/java/com/whyc/controller/ExcelController.java | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/whyc/controller/ExcelController.java b/src/main/java/com/whyc/controller/ExcelController.java index 4bb7c3b..6f6742d 100644 --- a/src/main/java/com/whyc/controller/ExcelController.java +++ b/src/main/java/com/whyc/controller/ExcelController.java @@ -8,6 +8,7 @@ import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; +import javax.servlet.http.HttpServletResponse; import java.io.IOException; @RequestMapping("excel") @@ -20,8 +21,8 @@ @GetMapping("dcReport") @ApiOperation(value = "鐩存祦鎶ヨ〃") - public void dcReport(int battGroupId,int testRecordCount) throws IOException { - service.dcReport(battGroupId,testRecordCount); + public void dcReport(int battGroupId, int testRecordCount, HttpServletResponse response) throws IOException { + service.dcReport(battGroupId,testRecordCount,response); } -- Gitblit v1.9.1