From 4297291dea8c814362c18f1e81b7307e06657376 Mon Sep 17 00:00:00 2001 From: heminjian502 Date: Sat, 7 Jan 2023 16:16:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8E=A5=E5=8F=A3=E8=BF=94?= =?UTF-8?q?=E5=9B=9E=E4=B8=BA=E7=A9=BA=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/ruoyi/system/service/impl/TRecordServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TRecordServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TRecordServiceImpl.java index 32e7112..d180592 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TRecordServiceImpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TRecordServiceImpl.java @@ -385,7 +385,7 @@ public class TRecordServiceImpl implements ITRecordService } else { list = historyDataMap.get(listName); } - list.add(val); + list.add(StringUtils.isNull(val) || StringUtils.isEmpty(val.toString()) ? "-1" : val); historyDataMap.put(listName, list); }