diff --git a/hutool-poi/src/main/java/cn/hutool/poi/excel/cell/CellUtil.java b/hutool-poi/src/main/java/cn/hutool/poi/excel/cell/CellUtil.java index b369e5a1e..34b1af790 100644 --- a/hutool-poi/src/main/java/cn/hutool/poi/excel/cell/CellUtil.java +++ b/hutool-poi/src/main/java/cn/hutool/poi/excel/cell/CellUtil.java @@ -106,7 +106,7 @@ public class CellUtil { if(CellType.BLANK == cellType){ // 空白单元格可能为合并单元格 cell = getMergedRegionCell(cell); - cellType = cell.getCellType(); + cellType = cell.getCellTypeEnum(); } Object value;