From 81b50b9b3c3e6ec071ee46431e003470fcac6852 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期四, 13 五月 2021 23:52:36 +0800 Subject: [PATCH] update 代码生成器修改为MP分页(未完成) --- 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