修改日志分页查询, 非组件显示Null 问题

This commit is contained in:
furongxin 2024-09-12 21:59:02 +08:00
parent fa22c77e18
commit f3ecc06f6b

View File

@ -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(" ");
}