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); }