diff --git a/epmet-commons/epmet-commons-tools/src/main/java/com/epmet/commons/tools/utils/ExcelUtils.java b/epmet-commons/epmet-commons-tools/src/main/java/com/epmet/commons/tools/utils/ExcelUtils.java index bc2659eccc..773291dfcc 100644 --- a/epmet-commons/epmet-commons-tools/src/main/java/com/epmet/commons/tools/utils/ExcelUtils.java +++ b/epmet-commons/epmet-commons-tools/src/main/java/com/epmet/commons/tools/utils/ExcelUtils.java @@ -106,7 +106,7 @@ public class ExcelUtils { //当前日期 fileName = DateUtils.format(new Date()); } - ExportParams params = new ExportParams(fileName, "sheet的Name"); + ExportParams params = new ExportParams(fileName,fileName); Workbook workbook = ExcelExportUtil.exportExcel(params, pojoClass, list); Sheet sheet1 = workbook.getSheetAt(0); sheet1.setDefaultColumnWidth(50*256);