update 同步ruoyi

feature/model
疯狂的狮子li 4 years ago
parent 4e723f4936
commit c0e5e9cb24

@ -513,7 +513,7 @@ public class ExcelUtil<T>
} }
else if (ColumnType.NUMERIC == attr.cellType()) else if (ColumnType.NUMERIC == attr.cellType())
{ {
if (StrUtil.isNotNull(value)) if (Validator.isNotNull(value))
{ {
cell.setCellValue(StrUtil.contains(Convert.toStr(value), ".") ? Convert.toDouble(value) : Convert.toInt(value)); cell.setCellValue(StrUtil.contains(Convert.toStr(value), ".") ? Convert.toDouble(value) : Convert.toInt(value));
} }

Loading…
Cancel
Save