Commit a9db0b9a authored by zhangfeng's avatar zhangfeng

bugfix-713: 分享记录详情ip显示异常修复

parent b6f5c3ec
...@@ -72,7 +72,7 @@ public class ScoreRuleShareRecordServiceImpl extends AbstractService<ScoreRuleSh ...@@ -72,7 +72,7 @@ public class ScoreRuleShareRecordServiceImpl extends AbstractService<ScoreRuleSh
if (item.getIpAddress().contains("SHARE")) { if (item.getIpAddress().contains("SHARE")) {
String[] split = item.getIpAddress().split("_"); String[] split = item.getIpAddress().split("_");
item.setIpAddress(split[split.length - 1]); item.setIpAddress(split[split.length - 1]);
} else { } else if (item.getIpAddress().contains("RECOMMEND")) {
item.setIpAddress("-"); item.setIpAddress("-");
} }
item.setTypeZh(DictFrameworkUtils.getDictDataFromCache("score_rule_type", item.getType().toString()).getLabel()); item.setTypeZh(DictFrameworkUtils.getDictDataFromCache("score_rule_type", item.getType().toString()).getLabel());
......
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