Commit 32462774 by liuyu

2024/03/04 指定标题不进行聚合

parent c7e57244
......@@ -244,7 +244,11 @@ public class TaskServiceTemplate extends BaseTaskTypePair<TaskServiceTemplate.Ta
String tag = tagGroup.entrySet().stream().max(Map.Entry.comparingByValue()).map(Map.Entry::getKey).get();
// 生成模板
String title = Tools.filterSymbol(result.getClusterName());
if (title.length() < 6 || FILTER_TITLE.contains(title)) {
if (title.length() < 6) {
continue;
}
// 指定标题 不进行聚合
if (FILTER_TITLE.contains(title)) {
continue;
}
TemplateTitleVo templateTitleVo = new TemplateTitleVo(title, tag, sourceList.get(result.getDataPoints().get(0)).getUrl(), Tools.numberMatch(title));
......
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