Prechádzať zdrojové kódy

连续检测导出的Excel的sheet名称调整

王苗苗 5 mesiacov pred
rodič
commit
2eafdaac4b

+ 1 - 1
ruoyi-admin/src/main/java/com/ruoyi/web/controller/business/BusinessController.java

@@ -439,7 +439,7 @@ public class BusinessController extends BaseController {
 //                .registerWriteHandler(new LongestMatchColumnWidthStyleStrategy()) // 可选:自动调整列宽
                 // 动态头
                 .head(headers)
-                .sheet()
+                .sheet("Sheet1")
                 // 表格数据
                 .doWrite(dates);