fix select bug

This commit is contained in:
Looly
2020-03-25 10:25:14 +08:00
parent b6fd1e2beb
commit 9a68d4299f
3 changed files with 19 additions and 23 deletions

View File

@@ -419,9 +419,9 @@ public class ExcelWriteTest {
}
@Test
@Ignore
// @Ignore
public void addSelectTest2() {
ExcelWriter writer = ExcelUtil.getWriter(true);
ExcelWriter writer = ExcelUtil.getWriter("d:/test/select.xls");
writer.writeCellValue(0, 0, "请选择科目");
int firstRow = 0;
int lastRow = 0;
@@ -433,7 +433,6 @@ public class ExcelWriteTest {
List<?> rows = new ArrayList<>();
writer.write(rows, true);
writer.flush(FileUtil.file("d:/test/select.xlsx"));
writer.close();
}