wangyunpeng преди 10 месеца
родител
ревизия
fad357be94

+ 1 - 1
long-article-recommend-service/src/main/java/com/tzld/longarticle/recommend/server/service/recommend/filter/strategy/ArticlePromotionStrategy.java

@@ -35,7 +35,7 @@ public class ArticlePromotionStrategy implements FilterStrategy {
         for (Content content : contents) {
             if (promotionSourceMap.containsKey(content.getCrawlerChannelContentId())) {
                 ArticlePoolPromotionSource promotionSource = promotionSourceMap.get(content.getCrawlerChannelContentId());
-                if (promotionSource.getLevel().equals(content.getContentPoolType())) {
+                if (!promotionSource.getLevel().equals(content.getContentPoolType())) {
                     content.setFilterReason("内容已晋级过滤");
                     filterContents.add(content);
                 }