chenjiahe
2023-10-08 8b3e27cbc244bc5e09ea1acd8a0a0546927e063d
新版excel优化
1个文件已修改
3 ■■■■ 已修改文件
src/main/java/com/hx/util/ExcelUtil.java 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/hx/util/ExcelUtil.java
@@ -976,7 +976,7 @@
                    cell = row.getCell(j);
                    if (cell == null) {
                        arrayString.add("");
                    }
                    }else{
                    if (cell.getCellType() == CellType.NUMERIC) {
                        isData = true;
                        format = cell.getCellStyle().getDataFormat();
@@ -1005,6 +1005,7 @@
                        arrayString.add(cell.getStringCellValue().trim());
                    }
                }
                }
                if (isData) {
                    listData.add(arrayString);
                }