From d0ec87df722298a0b09edfddeef6a46184d64554 Mon Sep 17 00:00:00 2001
From: whycxzp <perryhsu@163.com>
Date: 星期六, 08 十月 2022 16:55:41 +0800
Subject: [PATCH] 接口更新

---
 src/main/java/com/whyc/controller/ExcelExportController.java |   20 +++++---------------
 1 files changed, 5 insertions(+), 15 deletions(-)

diff --git a/src/main/java/com/whyc/controller/ExcelExportController.java b/src/main/java/com/whyc/controller/ExcelExportController.java
index 51d8eaf..58eaf22 100644
--- a/src/main/java/com/whyc/controller/ExcelExportController.java
+++ b/src/main/java/com/whyc/controller/ExcelExportController.java
@@ -1,25 +1,15 @@
 package com.whyc.controller;
 
-import cn.afterturn.easypoi.excel.ExcelExportUtil;
-import cn.afterturn.easypoi.excel.entity.TemplateExportParams;
-import com.google.common.collect.Maps;
-import com.whyc.dto.ResTestReportDTO;
 import com.whyc.service.ExcelExportService;
 import io.swagger.annotations.Api;
 import io.swagger.annotations.ApiOperation;
-import org.apache.poi.ss.usermodel.Workbook;
 import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.core.io.ClassPathResource;
-import org.springframework.web.bind.annotation.*;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springframework.web.bind.annotation.RestController;
 
 import javax.servlet.http.HttpServletResponse;
-import java.io.IOException;
-import java.net.URLEncoder;
-import java.time.LocalDateTime;
-import java.time.format.DateTimeFormatter;
-import java.util.HashMap;
-import java.util.LinkedList;
-import java.util.List;
 
 @Api(tags = "excel瀵煎嚭")
 @RestController
@@ -31,7 +21,7 @@
 
     @ApiOperation("鍐呴樆璁℃祴璇�")
     @GetMapping("resTestReport")
-    public void resTestReport(@RequestParam String fileId, HttpServletResponse response){
+    public void resTestReport(@RequestParam String fileId,@RequestParam(required = false) String fileId2,@RequestParam String volPic,@RequestParam String resPic, HttpServletResponse response){
         service.resTestReport(fileId,response);
     }
 

--
Gitblit v1.9.1