whycxzp
2025-04-30 d19e91bcc4ed9ab08e8be375fb5fc0f7e874a6a9
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);
    }