Browse Source

Merge branch 'dev-xym-fix' of Server/long-article-manage into master

xueyiming 1 month ago
parent
commit
38c1942c51

+ 2 - 1
long-article-server/src/main/java/com/tzld/piaoquan/longarticle/service/local/impl/CoreServiceImpl.java

@@ -810,7 +810,8 @@ public class CoreServiceImpl implements CoreService {
             }
         }
         ArticleUseGroupExample articleUseGroupExample = new ArticleUseGroupExample();
-        articleUseGroupExample.createCriteria().andGzhIdEqualTo(planAccount.getGhId()).andUserGroupIdIn(needPushUserGroupIds);
+        articleUseGroupExample.createCriteria().andGzhIdEqualTo(planAccount.getGhId())
+                .andUserGroupIdIn(needPushUserGroupIds).andIsDeleteEqualTo(0);
         List<ArticleUseGroup> articleUseGroups = articleUseGroupMapper.selectByExample(articleUseGroupExample);
         Map<Integer, List<String>> groupMap = articleUseGroups.stream()
                 .collect(Collectors.groupingBy(