Browse Source

Merge branch 'wyp/0612-articleCategory' of Server/long-article-recommend into master

wangyunpeng 1 tháng trước cách đây
mục cha
commit
e76f79837f

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

@@ -205,7 +205,8 @@ public class ArticleCategoryService {
         List<String> articlePromotionProducePlanIds = producePlanList.stream()
                 .filter(o -> StringUtils.hasText(o.getPlanTag())
                         && (o.getPlanTag().contains(ContentPoolEnum.autoArticlePoolLevel1.getContentPool())
-                        || o.getPlanTag().contains(ContentPoolEnum.autoArticlePoolLevel2.getContentPool())))
+                        || o.getPlanTag().contains(ContentPoolEnum.autoArticlePoolLevel2.getContentPool())
+                        || o.getPlanTag().contains(ContentPoolEnum.autoArticlePoolLevel3.getContentPool())))
                 .map(ProducePlan::getId).collect(Collectors.toList());
 
         List<ArticleCategory> saveList = addArticleCategoryByProducePlan(articlePromotionProducePlanIds);