From 8ba1266b6a94defb9c39963d97553fc46991e01f Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期四, 28 一月 2021 09:22:25 +0800 Subject: [PATCH] 修改 页面生成模板 适配后端时间格式 --- 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 b1f36af..dcba68e 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 @@ -1059,7 +1059,7 @@ } else { - if ((Double) val % 1 > 0) + if ((Double) val % 1 != 0) { val = new BigDecimal(val.toString()); } -- Gitblit v1.9.3