浏览代码

!27 解决excel解析复杂公式报错的问题

Merge pull request !27 from 曾维嘉/master
4.1.3.A
曾维嘉 6 年前
committed by jueyue
父节点
当前提交
c7e6d7347b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      easypoi-base/src/main/java/cn/afterturn/easypoi/util/PoiCellUtil.java

+ 1
- 1
easypoi-base/src/main/java/cn/afterturn/easypoi/util/PoiCellUtil.java 查看文件

@@ -114,7 +114,7 @@ public class PoiCellUtil {


} else if (cell.getCellType() == Cell.CELL_TYPE_FORMULA) { } else if (cell.getCellType() == Cell.CELL_TYPE_FORMULA) {


return cell.getCellFormula();
return cell.getStringCellValue();


} else if (cell.getCellType() == Cell.CELL_TYPE_NUMERIC) { } else if (cell.getCellType() == Cell.CELL_TYPE_NUMERIC) {




正在加载...
取消
保存