Looly 5 years ago
parent
commit
615652cf9f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      hutool-poi/src/main/java/cn/hutool/poi/excel/cell/CellUtil.java

+ 1 - 1
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;