Commit 5fc8ca53 by 杨卫

feat:NPE排除

1 parent 496981e2
......@@ -330,6 +330,10 @@ public class InspectionEditLogService {
* @return java.lang.String
*/
private String builderChineseMap(SnapshotEntry entry) {
if (entry == null) {
return SymbolConsts.HYPHEN;
}
List<HashMap<String, String>> valueList = Optional.ofNullable(entry.getValues())
.filter(CollUtil::isNotEmpty)
.map(r -> r.stream().map(value -> {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!