Browse Source

标题相似临时过滤

wangyunpeng 6 months ago
parent
commit
1380f2ae2e

+ 1 - 1
long-article-recommend-service/src/main/java/com/tzld/longarticle/recommend/server/service/recommend/recall/RecallService.java

@@ -219,7 +219,7 @@ public class RecallService implements ApplicationContextAware {
         }
         content.removeIf(o -> !Objects.equals(o.getSourceType(), PublishPlanInputSourceTypesEnum.longArticleVideoPoolSource.getVal())
                 && (Objects.isNull(textStatusMap.get(o.getSourceId()))
-                || textStatusMap.get(o.getSourceId()) == 0));
+                || textStatusMap.get(o.getSourceId()) != 1));
     }
 
     private void setVideoContent(List<Content> contentList) {