From a1bdc450eabe8d9a342dc4a578e157b73fdabf29 Mon Sep 17 00:00:00 2001 From: chenjiahe <763432473@qq.com> Date: 星期日, 08 十月 2023 11:41:27 +0800 Subject: [PATCH] 新版excel优化 --- src/main/java/com/hx/util/ExcelUtil.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/hx/util/ExcelUtil.java b/src/main/java/com/hx/util/ExcelUtil.java index fbc5df6..ee0af02 100644 --- a/src/main/java/com/hx/util/ExcelUtil.java +++ b/src/main/java/com/hx/util/ExcelUtil.java @@ -975,7 +975,7 @@ for (int j = 0;j<arrange;j++) { cell = row.getCell(j); if (cell == null) { - continue; + arrayString.add(""); } if (cell.getCellType() == CellType.NUMERIC) { isData = true; -- Gitblit v1.8.0