Commit 8bfdfe3d authored by youxiaoji's avatar youxiaoji

* [增加空值判断,空值不保存]

parent 765006fb
...@@ -36,7 +36,8 @@ public class InfoCollectorService { ...@@ -36,7 +36,8 @@ public class InfoCollectorService {
public void saveValue(String key, Object value) { public void saveValue(String key, Object value) {
log.info("key {} value {}", key, value); log.info("key {} value {}", key, value);
if(value == null || StringUtils.isEmpty(value.toString())) { if(value == null || StringUtils.isEmpty(value.toString())
|| value.toString().compareToIgnoreCase("待补充") == 0) {
return; return;
} }
values.put(key, value); values.put(key, value);
......
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