From 56eba9cded865648465bc2c5815d47441e0457b1 Mon Sep 17 00:00:00 2001 From: sxq <812980466@qq.com> Date: 星期二, 22 六月 2021 15:35:52 +0800 Subject: [PATCH] Merge branch 'dev' of D:\idea\RuoYi-Vue-Plus with conflicts. --- 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