mirror of https://gitee.com/y_project/RuoYi.git
commit
d67ff9bf2c
|
@ -782,7 +782,7 @@ public class ExcelUtil<T>
|
||||||
Cell cell = row.getCell(column);
|
Cell cell = row.getCell(column);
|
||||||
if (cell != null)
|
if (cell != null)
|
||||||
{
|
{
|
||||||
if (cell.getCellTypeEnum() == CellType.NUMERIC)
|
if (cell.getCellTypeEnum() == CellType.NUMERIC || cell.getCellTypeEnum() == CellType.FORMULA)
|
||||||
{
|
{
|
||||||
val = cell.getNumericCellValue();
|
val = cell.getNumericCellValue();
|
||||||
if (HSSFDateUtil.isCellDateFormatted(cell))
|
if (HSSFDateUtil.isCellDateFormatted(cell))
|
||||||
|
|
Loading…
Reference in New Issue