提交 17657d06 作者: 925993793@qq.com

自定义专题:关键词关系回显bug处理

上级 d4e0aa78
...@@ -375,11 +375,11 @@ public class SubjectSimpleServiceImpl implements SubjectSimpleService { ...@@ -375,11 +375,11 @@ public class SubjectSimpleServiceImpl implements SubjectSimpleService {
} }
} else if ("3".equals(relationType)) { } else if ("3".equals(relationType)) {
String valueStr = params.get(0).get("value").toString(); String valueStr = params.get(0).get("value").toString();
map.get(valueStr).setSearchLogicRelationship("and"); map.get(valueStr).setSearchLogicRelationship("not");
for (int i = 1; i < params.size() - 2; i += 2) { for (int i = 1; i < params.size() - 2; i += 2) {
JSONObject param = params.get(i + 1); JSONObject param = params.get(i + 1);
String id = param.get("value").toString(); String id = param.get("value").toString();
map.get(id).setSearchLogicRelationship("and"); map.get(id).setSearchLogicRelationship("not");
} }
} }
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论