diff --git a/hutool-poi/src/main/java/org/dromara/hutool/poi/excel/ExcelWriter.java b/hutool-poi/src/main/java/org/dromara/hutool/poi/excel/ExcelWriter.java index 85365fbaa..d198e82cb 100644 --- a/hutool-poi/src/main/java/org/dromara/hutool/poi/excel/ExcelWriter.java +++ b/hutool-poi/src/main/java/org/dromara/hutool/poi/excel/ExcelWriter.java @@ -1025,7 +1025,7 @@ public class ExcelWriter extends ExcelBase { } else if (rowBean instanceof Hyperlink) { // Hyperlink当成一个值 return writeRow(ListUtil.of(rowBean), isWriteKeyAsHead); - } else if (BeanUtil.isWritableBean(rowBean.getClass())) { + } else if (BeanUtil.isReadableBean(rowBean.getClass())) { if (MapUtil.isEmpty(this.headerAlias)) { rowMap = BeanUtil.beanToMap(rowBean, new LinkedHashMap<>(), false, false); } else { diff --git a/hutool-poi/src/test/java/org/dromara/hutool/poi/excel/CellEditorTest.java b/hutool-poi/src/test/java/org/dromara/hutool/poi/excel/reader/CellEditorTest.java similarity index 93% rename from hutool-poi/src/test/java/org/dromara/hutool/poi/excel/CellEditorTest.java rename to hutool-poi/src/test/java/org/dromara/hutool/poi/excel/reader/CellEditorTest.java index 983da73a8..086a9cb7d 100644 --- a/hutool-poi/src/test/java/org/dromara/hutool/poi/excel/CellEditorTest.java +++ b/hutool-poi/src/test/java/org/dromara/hutool/poi/excel/reader/CellEditorTest.java @@ -10,8 +10,10 @@ * See the Mulan PSL v2 for more details. */ -package org.dromara.hutool.poi.excel; +package org.dromara.hutool.poi.excel.reader; +import org.dromara.hutool.poi.excel.ExcelReader; +import org.dromara.hutool.poi.excel.ExcelUtil; import org.dromara.hutool.poi.excel.cell.CellEditor; import lombok.AllArgsConstructor; import lombok.Data; diff --git a/hutool-poi/src/test/java/org/dromara/hutool/poi/excel/ExcelReadTest.java b/hutool-poi/src/test/java/org/dromara/hutool/poi/excel/reader/ExcelReadTest.java similarity index 98% rename from hutool-poi/src/test/java/org/dromara/hutool/poi/excel/ExcelReadTest.java rename to hutool-poi/src/test/java/org/dromara/hutool/poi/excel/reader/ExcelReadTest.java index 400fbc179..7d19bd6ba 100644 --- a/hutool-poi/src/test/java/org/dromara/hutool/poi/excel/ExcelReadTest.java +++ b/hutool-poi/src/test/java/org/dromara/hutool/poi/excel/reader/ExcelReadTest.java @@ -10,7 +10,7 @@ * See the Mulan PSL v2 for more details. */ -package org.dromara.hutool.poi.excel; +package org.dromara.hutool.poi.excel.reader; import org.dromara.hutool.core.io.resource.ResourceUtil; import org.dromara.hutool.core.lang.Console; @@ -19,6 +19,8 @@ import org.dromara.hutool.core.map.MapUtil; import org.dromara.hutool.core.util.ObjUtil; import lombok.Data; import org.apache.poi.ss.usermodel.Cell; +import org.dromara.hutool.poi.excel.ExcelReader; +import org.dromara.hutool.poi.excel.ExcelUtil; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; diff --git a/hutool-poi/src/test/java/org/dromara/hutool/poi/excel/ExcelSaxReadTest.java b/hutool-poi/src/test/java/org/dromara/hutool/poi/excel/reader/ExcelSaxReadTest.java similarity index 98% rename from hutool-poi/src/test/java/org/dromara/hutool/poi/excel/ExcelSaxReadTest.java rename to hutool-poi/src/test/java/org/dromara/hutool/poi/excel/reader/ExcelSaxReadTest.java index b9d28e281..ea0b1c2c6 100644 --- a/hutool-poi/src/test/java/org/dromara/hutool/poi/excel/ExcelSaxReadTest.java +++ b/hutool-poi/src/test/java/org/dromara/hutool/poi/excel/reader/ExcelSaxReadTest.java @@ -10,7 +10,7 @@ * See the Mulan PSL v2 for more details. */ -package org.dromara.hutool.poi.excel; +package org.dromara.hutool.poi.excel.reader; import org.dromara.hutool.core.collection.CollUtil; import org.dromara.hutool.core.collection.ListUtil; @@ -19,6 +19,7 @@ import org.dromara.hutool.core.io.IoUtil; import org.dromara.hutool.core.io.file.FileUtil; import org.dromara.hutool.core.lang.Console; import org.dromara.hutool.core.text.StrUtil; +import org.dromara.hutool.poi.excel.ExcelUtil; import org.dromara.hutool.poi.excel.cell.values.FormulaCellValue; import org.dromara.hutool.poi.excel.sax.Excel03SaxReader; import org.dromara.hutool.poi.excel.sax.handler.RowHandler; diff --git a/hutool-poi/src/test/java/org/dromara/hutool/poi/excel/Issue1729Test.java b/hutool-poi/src/test/java/org/dromara/hutool/poi/excel/reader/Issue1729Test.java similarity index 90% rename from hutool-poi/src/test/java/org/dromara/hutool/poi/excel/Issue1729Test.java rename to hutool-poi/src/test/java/org/dromara/hutool/poi/excel/reader/Issue1729Test.java index c70700631..f2ed5c47f 100644 --- a/hutool-poi/src/test/java/org/dromara/hutool/poi/excel/Issue1729Test.java +++ b/hutool-poi/src/test/java/org/dromara/hutool/poi/excel/reader/Issue1729Test.java @@ -10,9 +10,11 @@ * See the Mulan PSL v2 for more details. */ -package org.dromara.hutool.poi.excel; +package org.dromara.hutool.poi.excel.reader; import lombok.Data; +import org.dromara.hutool.poi.excel.ExcelReader; +import org.dromara.hutool.poi.excel.ExcelUtil; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; diff --git a/hutool-poi/src/test/java/org/dromara/hutool/poi/excel/Issue3118Test.java b/hutool-poi/src/test/java/org/dromara/hutool/poi/excel/reader/Issue3118Test.java old mode 100755 new mode 100644 similarity index 87% rename from hutool-poi/src/test/java/org/dromara/hutool/poi/excel/Issue3118Test.java rename to hutool-poi/src/test/java/org/dromara/hutool/poi/excel/reader/Issue3118Test.java index f5e1549eb..15006709a --- a/hutool-poi/src/test/java/org/dromara/hutool/poi/excel/Issue3118Test.java +++ b/hutool-poi/src/test/java/org/dromara/hutool/poi/excel/reader/Issue3118Test.java @@ -10,9 +10,11 @@ * See the Mulan PSL v2 for more details. */ -package org.dromara.hutool.poi.excel; +package org.dromara.hutool.poi.excel.reader; import org.dromara.hutool.core.lang.Console; +import org.dromara.hutool.poi.excel.ExcelReader; +import org.dromara.hutool.poi.excel.ExcelUtil; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; diff --git a/hutool-poi/src/test/java/org/dromara/hutool/poi/excel/Issue3120Test.java b/hutool-poi/src/test/java/org/dromara/hutool/poi/excel/reader/Issue3120Test.java old mode 100755 new mode 100644 similarity index 87% rename from hutool-poi/src/test/java/org/dromara/hutool/poi/excel/Issue3120Test.java rename to hutool-poi/src/test/java/org/dromara/hutool/poi/excel/reader/Issue3120Test.java index 049f4ccba..303890c90 --- a/hutool-poi/src/test/java/org/dromara/hutool/poi/excel/Issue3120Test.java +++ b/hutool-poi/src/test/java/org/dromara/hutool/poi/excel/reader/Issue3120Test.java @@ -10,8 +10,10 @@ * See the Mulan PSL v2 for more details. */ -package org.dromara.hutool.poi.excel; +package org.dromara.hutool.poi.excel.reader; +import org.dromara.hutool.poi.excel.ExcelReader; +import org.dromara.hutool.poi.excel.ExcelUtil; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; diff --git a/hutool-poi/src/test/java/org/dromara/hutool/poi/excel/Issue3481Test.java b/hutool-poi/src/test/java/org/dromara/hutool/poi/excel/reader/Issue3481Test.java similarity index 72% rename from hutool-poi/src/test/java/org/dromara/hutool/poi/excel/Issue3481Test.java rename to hutool-poi/src/test/java/org/dromara/hutool/poi/excel/reader/Issue3481Test.java index dd16eed14..43452d00b 100644 --- a/hutool-poi/src/test/java/org/dromara/hutool/poi/excel/Issue3481Test.java +++ b/hutool-poi/src/test/java/org/dromara/hutool/poi/excel/reader/Issue3481Test.java @@ -1,5 +1,8 @@ -package org.dromara.hutool.poi.excel; +package org.dromara.hutool.poi.excel.reader; +import org.dromara.hutool.poi.excel.ExcelReader; +import org.dromara.hutool.poi.excel.ExcelUtil; +import org.dromara.hutool.poi.excel.ExcelWriter; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; diff --git a/hutool-poi/src/test/java/org/dromara/hutool/poi/excel/IssueI53OSTTest.java b/hutool-poi/src/test/java/org/dromara/hutool/poi/excel/reader/IssueI53OSTTest.java similarity index 93% rename from hutool-poi/src/test/java/org/dromara/hutool/poi/excel/IssueI53OSTTest.java rename to hutool-poi/src/test/java/org/dromara/hutool/poi/excel/reader/IssueI53OSTTest.java index ccf43a2dc..c8487c966 100644 --- a/hutool-poi/src/test/java/org/dromara/hutool/poi/excel/IssueI53OSTTest.java +++ b/hutool-poi/src/test/java/org/dromara/hutool/poi/excel/reader/IssueI53OSTTest.java @@ -10,9 +10,10 @@ * See the Mulan PSL v2 for more details. */ -package org.dromara.hutool.poi.excel; +package org.dromara.hutool.poi.excel.reader; import org.dromara.hutool.core.lang.Console; +import org.dromara.hutool.poi.excel.ExcelUtil; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; diff --git a/hutool-poi/src/test/java/org/dromara/hutool/poi/excel/IssueI5Q1TWTest.java b/hutool-poi/src/test/java/org/dromara/hutool/poi/excel/reader/IssueI5Q1TWTest.java similarity index 87% rename from hutool-poi/src/test/java/org/dromara/hutool/poi/excel/IssueI5Q1TWTest.java rename to hutool-poi/src/test/java/org/dromara/hutool/poi/excel/reader/IssueI5Q1TWTest.java index 333ce8b38..c710a143a 100644 --- a/hutool-poi/src/test/java/org/dromara/hutool/poi/excel/IssueI5Q1TWTest.java +++ b/hutool-poi/src/test/java/org/dromara/hutool/poi/excel/reader/IssueI5Q1TWTest.java @@ -10,8 +10,10 @@ * See the Mulan PSL v2 for more details. */ -package org.dromara.hutool.poi.excel; +package org.dromara.hutool.poi.excel.reader; +import org.dromara.hutool.poi.excel.ExcelReader; +import org.dromara.hutool.poi.excel.ExcelUtil; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; diff --git a/hutool-poi/src/test/java/org/dromara/hutool/poi/excel/IssueI5U1JATest.java b/hutool-poi/src/test/java/org/dromara/hutool/poi/excel/reader/IssueI5U1JATest.java similarity index 84% rename from hutool-poi/src/test/java/org/dromara/hutool/poi/excel/IssueI5U1JATest.java rename to hutool-poi/src/test/java/org/dromara/hutool/poi/excel/reader/IssueI5U1JATest.java index b621cb4c1..b9be66cef 100644 --- a/hutool-poi/src/test/java/org/dromara/hutool/poi/excel/IssueI5U1JATest.java +++ b/hutool-poi/src/test/java/org/dromara/hutool/poi/excel/reader/IssueI5U1JATest.java @@ -10,8 +10,10 @@ * See the Mulan PSL v2 for more details. */ -package org.dromara.hutool.poi.excel; +package org.dromara.hutool.poi.excel.reader; +import org.dromara.hutool.poi.excel.ExcelReader; +import org.dromara.hutool.poi.excel.ExcelUtil; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; diff --git a/hutool-poi/src/test/java/org/dromara/hutool/poi/excel/IssueI8PT9ZTest.java b/hutool-poi/src/test/java/org/dromara/hutool/poi/excel/reader/IssueI8PT9ZTest.java similarity index 85% rename from hutool-poi/src/test/java/org/dromara/hutool/poi/excel/IssueI8PT9ZTest.java rename to hutool-poi/src/test/java/org/dromara/hutool/poi/excel/reader/IssueI8PT9ZTest.java index 24e99c1a8..6eadbcd4c 100644 --- a/hutool-poi/src/test/java/org/dromara/hutool/poi/excel/IssueI8PT9ZTest.java +++ b/hutool-poi/src/test/java/org/dromara/hutool/poi/excel/reader/IssueI8PT9ZTest.java @@ -1,8 +1,10 @@ -package org.dromara.hutool.poi.excel; +package org.dromara.hutool.poi.excel.reader; import lombok.Data; import org.dromara.hutool.core.annotation.Alias; import org.dromara.hutool.core.lang.Console; +import org.dromara.hutool.poi.excel.ExcelReader; +import org.dromara.hutool.poi.excel.ExcelUtil; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; diff --git a/hutool-poi/src/test/java/org/dromara/hutool/poi/excel/IssueI8ZIQCTest.java b/hutool-poi/src/test/java/org/dromara/hutool/poi/excel/reader/IssueI8ZIQCTest.java similarity index 61% rename from hutool-poi/src/test/java/org/dromara/hutool/poi/excel/IssueI8ZIQCTest.java rename to hutool-poi/src/test/java/org/dromara/hutool/poi/excel/reader/IssueI8ZIQCTest.java index ecd9aedc5..cc1e33cde 100644 --- a/hutool-poi/src/test/java/org/dromara/hutool/poi/excel/IssueI8ZIQCTest.java +++ b/hutool-poi/src/test/java/org/dromara/hutool/poi/excel/reader/IssueI8ZIQCTest.java @@ -1,5 +1,7 @@ -package org.dromara.hutool.poi.excel; +package org.dromara.hutool.poi.excel.reader; +import org.dromara.hutool.poi.excel.ExcelReader; +import org.dromara.hutool.poi.excel.ExcelUtil; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; diff --git a/hutool-poi/src/test/java/org/dromara/hutool/poi/excel/BigExcelWriteTest.java b/hutool-poi/src/test/java/org/dromara/hutool/poi/excel/writer/BigExcelWriteTest.java similarity index 97% rename from hutool-poi/src/test/java/org/dromara/hutool/poi/excel/BigExcelWriteTest.java rename to hutool-poi/src/test/java/org/dromara/hutool/poi/excel/writer/BigExcelWriteTest.java index 327185fba..48334eb12 100644 --- a/hutool-poi/src/test/java/org/dromara/hutool/poi/excel/BigExcelWriteTest.java +++ b/hutool-poi/src/test/java/org/dromara/hutool/poi/excel/writer/BigExcelWriteTest.java @@ -10,13 +10,17 @@ * See the Mulan PSL v2 for more details. */ -package org.dromara.hutool.poi.excel; +package org.dromara.hutool.poi.excel.writer; import org.dromara.hutool.core.collection.ListUtil; import org.dromara.hutool.core.date.DateUtil; import org.dromara.hutool.core.io.file.FileUtil; import org.dromara.hutool.core.map.MapUtil; import org.dromara.hutool.core.util.ObjUtil; +import org.dromara.hutool.poi.excel.BigExcelWriter; +import org.dromara.hutool.poi.excel.ExcelUtil; +import org.dromara.hutool.poi.excel.ExcelWriter; +import org.dromara.hutool.poi.excel.TestBean; import org.dromara.hutool.poi.excel.style.StyleUtil; import org.apache.poi.ss.usermodel.CellStyle; import org.apache.poi.ss.usermodel.FillPatternType; diff --git a/hutool-poi/src/test/java/org/dromara/hutool/poi/excel/writer/ExcelWriteBeanTest.java b/hutool-poi/src/test/java/org/dromara/hutool/poi/excel/writer/ExcelWriteBeanTest.java new file mode 100644 index 000000000..26d049109 --- /dev/null +++ b/hutool-poi/src/test/java/org/dromara/hutool/poi/excel/writer/ExcelWriteBeanTest.java @@ -0,0 +1,30 @@ +package org.dromara.hutool.poi.excel.writer; + +import lombok.Getter; +import org.dromara.hutool.poi.excel.ExcelUtil; +import org.dromara.hutool.poi.excel.ExcelWriter; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +public class ExcelWriteBeanTest { + @Test + @Disabled + public void writeRowTest() { + final MyBean bean = new MyBean("value1", "value2"); + + final ExcelWriter writer = ExcelUtil.getWriter("d:/test/writeRowTest.xlsx"); + writer.writeRow(bean, true); + writer.close(); + } + + @Getter + static class MyBean { + private final String property1; + private final String property2; + + public MyBean(final String property1, final String property2) { + this.property1 = property1; + this.property2 = property2; + } + } +} diff --git a/hutool-poi/src/test/java/org/dromara/hutool/poi/excel/ExcelWriteTest.java b/hutool-poi/src/test/java/org/dromara/hutool/poi/excel/writer/ExcelWriteTest.java similarity index 99% rename from hutool-poi/src/test/java/org/dromara/hutool/poi/excel/ExcelWriteTest.java rename to hutool-poi/src/test/java/org/dromara/hutool/poi/excel/writer/ExcelWriteTest.java index cafeb127f..804de5da4 100644 --- a/hutool-poi/src/test/java/org/dromara/hutool/poi/excel/ExcelWriteTest.java +++ b/hutool-poi/src/test/java/org/dromara/hutool/poi/excel/writer/ExcelWriteTest.java @@ -10,7 +10,7 @@ * See the Mulan PSL v2 for more details. */ -package org.dromara.hutool.poi.excel; +package org.dromara.hutool.poi.excel.writer; import org.dromara.hutool.core.collection.ListUtil; import org.dromara.hutool.core.date.DateUtil; @@ -20,6 +20,7 @@ import org.dromara.hutool.core.data.id.IdUtil; import org.dromara.hutool.core.map.MapUtil; import org.dromara.hutool.core.util.CharsetUtil; import org.dromara.hutool.core.util.ObjUtil; +import org.dromara.hutool.poi.excel.*; import org.dromara.hutool.poi.excel.cell.setters.EscapeStrCellSetter; import org.dromara.hutool.poi.excel.style.StyleUtil; import org.apache.poi.common.usermodel.HyperlinkType; diff --git a/hutool-poi/src/test/java/org/dromara/hutool/poi/excel/Issue2221Test.java b/hutool-poi/src/test/java/org/dromara/hutool/poi/excel/writer/Issue2221Test.java similarity index 96% rename from hutool-poi/src/test/java/org/dromara/hutool/poi/excel/Issue2221Test.java rename to hutool-poi/src/test/java/org/dromara/hutool/poi/excel/writer/Issue2221Test.java index 21dbba921..c2e607897 100644 --- a/hutool-poi/src/test/java/org/dromara/hutool/poi/excel/Issue2221Test.java +++ b/hutool-poi/src/test/java/org/dromara/hutool/poi/excel/writer/Issue2221Test.java @@ -10,10 +10,12 @@ * See the Mulan PSL v2 for more details. */ -package org.dromara.hutool.poi.excel; +package org.dromara.hutool.poi.excel.writer; import org.dromara.hutool.core.collection.ListUtil; import org.dromara.hutool.core.map.MapUtil; +import org.dromara.hutool.poi.excel.ExcelUtil; +import org.dromara.hutool.poi.excel.ExcelWriter; import org.dromara.hutool.poi.excel.style.StyleUtil; import org.apache.poi.ss.usermodel.FillPatternType; import org.apache.poi.ss.usermodel.Font; diff --git a/hutool-poi/src/test/java/org/dromara/hutool/poi/excel/Issue2307Test.java b/hutool-poi/src/test/java/org/dromara/hutool/poi/excel/writer/Issue2307Test.java similarity index 84% rename from hutool-poi/src/test/java/org/dromara/hutool/poi/excel/Issue2307Test.java rename to hutool-poi/src/test/java/org/dromara/hutool/poi/excel/writer/Issue2307Test.java index 478c07ea7..441c24022 100644 --- a/hutool-poi/src/test/java/org/dromara/hutool/poi/excel/Issue2307Test.java +++ b/hutool-poi/src/test/java/org/dromara/hutool/poi/excel/writer/Issue2307Test.java @@ -10,13 +10,17 @@ * See the Mulan PSL v2 for more details. */ -package org.dromara.hutool.poi.excel; +package org.dromara.hutool.poi.excel.writer; -import org.dromara.hutool.core.collection.ListUtil; -import org.dromara.hutool.core.io.file.FileUtil; import org.apache.poi.ss.usermodel.CellStyle; import org.apache.poi.ss.usermodel.HorizontalAlignment; import org.apache.poi.xssf.usermodel.XSSFSheet; +import org.dromara.hutool.core.collection.ListUtil; +import org.dromara.hutool.core.io.file.FileUtil; +import org.dromara.hutool.core.lang.Console; +import org.dromara.hutool.poi.excel.ExcelUtil; +import org.dromara.hutool.poi.excel.ExcelWriter; +import org.dromara.hutool.poi.excel.StyleSet; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; @@ -63,9 +67,9 @@ public class Issue2307Test { } // 空串,实际应该有值 - System.out.println("writer.getCell(1,0): " + writer.getCell(0,1)); - System.out.println("writer.getCell(1,1): " + writer.getCell(1,1)); - System.out.println("sheet.getRow(1).getCell(0): " + sheet.getRow(1).getCell(0)); + Console.log("writer.getCell(1,0): " + writer.getCell(0,1)); + Console.log("writer.getCell(1,1): " + writer.getCell(1,1)); + Console.log("sheet.getRow(1).getCell(0): " + sheet.getRow(1).getCell(0)); } } } diff --git a/hutool-poi/src/test/java/org/dromara/hutool/poi/excel/IssueI66Z6BTest.java b/hutool-poi/src/test/java/org/dromara/hutool/poi/excel/writer/IssueI66Z6BTest.java similarity index 93% rename from hutool-poi/src/test/java/org/dromara/hutool/poi/excel/IssueI66Z6BTest.java rename to hutool-poi/src/test/java/org/dromara/hutool/poi/excel/writer/IssueI66Z6BTest.java index 4c4b78f5f..f5dfb37ef 100644 --- a/hutool-poi/src/test/java/org/dromara/hutool/poi/excel/IssueI66Z6BTest.java +++ b/hutool-poi/src/test/java/org/dromara/hutool/poi/excel/writer/IssueI66Z6BTest.java @@ -10,10 +10,12 @@ * See the Mulan PSL v2 for more details. */ -package org.dromara.hutool.poi.excel; +package org.dromara.hutool.poi.excel.writer; import org.dromara.hutool.core.date.DateUtil; import org.dromara.hutool.core.io.file.FileUtil; +import org.dromara.hutool.poi.excel.ExcelUtil; +import org.dromara.hutool.poi.excel.ExcelWriter; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; diff --git a/hutool-poi/src/test/java/org/dromara/hutool/poi/excel/IssueI6MBS5Test.java b/hutool-poi/src/test/java/org/dromara/hutool/poi/excel/writer/IssueI6MBS5Test.java similarity index 91% rename from hutool-poi/src/test/java/org/dromara/hutool/poi/excel/IssueI6MBS5Test.java rename to hutool-poi/src/test/java/org/dromara/hutool/poi/excel/writer/IssueI6MBS5Test.java index 6ddce8864..227e89aa8 100644 --- a/hutool-poi/src/test/java/org/dromara/hutool/poi/excel/IssueI6MBS5Test.java +++ b/hutool-poi/src/test/java/org/dromara/hutool/poi/excel/writer/IssueI6MBS5Test.java @@ -10,9 +10,12 @@ * See the Mulan PSL v2 for more details. */ -package org.dromara.hutool.poi.excel; +package org.dromara.hutool.poi.excel.writer; import org.dromara.hutool.core.io.IORuntimeException; +import org.dromara.hutool.poi.excel.ExcelUtil; +import org.dromara.hutool.poi.excel.ExcelWriter; +import org.dromara.hutool.poi.excel.WorkbookUtil; import org.dromara.hutool.poi.excel.cell.CellUtil; import org.apache.poi.ss.usermodel.Cell; import org.apache.poi.ss.usermodel.Row;