diff --git a/win-framework/win-spring-boot-starter-excel/src/main/java/com/win/framework/excel/core/util/ExcelUtils.java b/win-framework/win-spring-boot-starter-excel/src/main/java/com/win/framework/excel/core/util/ExcelUtils.java index 5ff31c4a..8d8dc737 100644 --- a/win-framework/win-spring-boot-starter-excel/src/main/java/com/win/framework/excel/core/util/ExcelUtils.java +++ b/win-framework/win-spring-boot-starter-excel/src/main/java/com/win/framework/excel/core/util/ExcelUtils.java @@ -102,7 +102,6 @@ public class ExcelUtils { */ public static String writeLocalFile(String fileName, String sheetName, List dataList) throws FileNotFoundException { WebProperties webProperties = SpringUtil.getBean(WebProperties.class); - fileName = fileName + LocalDateTime.now().toEpochSecond(ZoneOffset.of("+8")); File file = ResourceUtils.getFile( webProperties.getProfile() + "/" + fileName); EasyExcel.write(file).sheet(sheetName).doWrite(dataList); return Constant.RESOURCE_PREFIX + fileName;