修改日志分页查询, 非组件显示Null 问题
This commit is contained in:
parent
fa22c77e18
commit
f3ecc06f6b
@ -284,6 +284,9 @@ public class LogInstanceServiceImpl implements LogInstanceService {
|
|||||||
}
|
}
|
||||||
String fieldStr = fieldJson.getStr("field");
|
String fieldStr = fieldJson.getStr("field");
|
||||||
String title = fieldJson.getStr("title");
|
String title = fieldJson.getStr("title");
|
||||||
|
if (fieldStr == null || title == null) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
String field = workLogContentJson.getStr(fieldStr);
|
String field = workLogContentJson.getStr(fieldStr);
|
||||||
workLogContent.append(title).append(":").append(field).append(" ");
|
workLogContent.append(title).append(":").append(field).append(" ");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user