Commit b38b8c0c authored by 刘林's avatar 刘林

fix(jg):移装告知报错问题处理

parent db086161
......@@ -829,8 +829,7 @@ public class JgInstallationNoticeServiceImpl extends BaseService<JgInstallationN
}
});
}
Function<String, String> getValue = key -> informObj.getOrDefault(key, "").toString();
Function<String, String> getValue = key -> Optional.of(informObj).map(map -> map.getOrDefault(key, "")).orElse("").toString();
// 组装模板变量
Map<String, Object> placeholders = new HashMap<>();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment