This commit is contained in:
Looly
2019-09-09 21:58:13 +08:00
parent 7174b49906
commit 692397f313
5 changed files with 48 additions and 29 deletions

View File

@@ -75,7 +75,7 @@ public class ExcelWriteTest {
rows.add(ObjectUtil.clone(row1));
}
String filePath = "e:/writeTest.xlsx";
String filePath = "f:/test/writeTest.xlsx";
FileUtil.del(filePath);
// 通过工具类创建writer
ExcelWriter writer = ExcelUtil.getWriter(filePath);