|
|
@ -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); |
|
|
|