From 99de90a015fb0494950f6f52f03ab5c34d192eee Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期一, 28 六月 2021 19:23:02 +0800 Subject: [PATCH] update 更新配置注释(规范使用方法) --- ruoyi-common/src/main/java/com/ruoyi/common/utils/poi/ExcelUtil.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/ruoyi-common/src/main/java/com/ruoyi/common/utils/poi/ExcelUtil.java b/ruoyi-common/src/main/java/com/ruoyi/common/utils/poi/ExcelUtil.java index c2c5423..619ec80 100644 --- a/ruoyi-common/src/main/java/com/ruoyi/common/utils/poi/ExcelUtil.java +++ b/ruoyi-common/src/main/java/com/ruoyi/common/utils/poi/ExcelUtil.java @@ -513,7 +513,7 @@ } 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)); } -- Gitblit v1.9.3