Pre Merge pull request !183 from Hacker/N/A

This commit is contained in:
Hacker 2020-12-16 10:07:59 +08:00 committed by Gitee
commit c922aceb14
1 changed files with 2 additions and 1 deletions

View File

@ -996,7 +996,8 @@ public class ExcelUtil<T>
val = cell.getNumericCellValue(); val = cell.getNumericCellValue();
if (DateUtil.isCellDateFormatted(cell)) if (DateUtil.isCellDateFormatted(cell))
{ {
val = DateUtil.getJavaDate((Double) val); // POI Excel 日期格式转换 // POI Excel 日期格式转换
val = DateUtil.getJavaDate((Double) val);
} }
else else
{ {