From f3ecc06f6b3d276ec77d5239702a8ba318897dcb Mon Sep 17 00:00:00 2001 From: furongxin <419481438@qq.com> Date: Thu, 12 Sep 2024 21:59:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=97=A5=E5=BF=97=E5=88=86?= =?UTF-8?q?=E9=A1=B5=E6=9F=A5=E8=AF=A2=EF=BC=8C=20=E9=9D=9E=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E6=98=BE=E7=A4=BANull=20=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../module/system/service/worklog/LogInstanceServiceImpl.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/service/worklog/LogInstanceServiceImpl.java b/yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/service/worklog/LogInstanceServiceImpl.java index 8a65af86..29512d09 100644 --- a/yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/service/worklog/LogInstanceServiceImpl.java +++ b/yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/service/worklog/LogInstanceServiceImpl.java @@ -284,6 +284,9 @@ public class LogInstanceServiceImpl implements LogInstanceService { } String fieldStr = fieldJson.getStr("field"); String title = fieldJson.getStr("title"); + if (fieldStr == null || title == null) { + continue; + } String field = workLogContentJson.getStr(fieldStr); workLogContent.append(title).append(":").append(field).append(" "); }