diff --git a/ruoyi-common/src/main/java/com/ruoyi/common/utils/poi/ExcelUtil.java b/ruoyi-common/src/main/java/com/ruoyi/common/utils/poi/ExcelUtil.java index 88a287d9..d2656cee 100644 --- a/ruoyi-common/src/main/java/com/ruoyi/common/utils/poi/ExcelUtil.java +++ b/ruoyi-common/src/main/java/com/ruoyi/common/utils/poi/ExcelUtil.java @@ -382,7 +382,8 @@ public class ExcelUtil addStatisticsRow(); } } - String filename = encodingFilename(sheetName); +// String filename = encodingFilename(sheetName); + String filename = sheetName + ".xlsx"; out = new FileOutputStream(getAbsoluteFile(filename)); wb.write(out); return AjaxResult.success(filename);