|
|
@ -266,7 +266,7 @@ public class ScreenProjectController { |
|
|
|
|
|
|
|
String templatePath = "/excel/project_temp_easy_excel.xlsx"; |
|
|
|
String template = this.getClass().getResource(templatePath).getPath(); |
|
|
|
String fileName = "项目统计.xls"; |
|
|
|
String fileName = "项目统计.xlsx"; |
|
|
|
excelWriter = EasyExcel.write(ExcelUtils.getOutputStream(fileName, response)).withTemplate(template).build(); |
|
|
|
WriteSheet writeSheet = EasyExcel.writerSheet().build(); |
|
|
|
excelWriter.fill(mapData, writeSheet); |
|
|
|