소스 검색

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

xueyiming 5 달 전
부모
커밋
38c1942c51
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      long-article-server/src/main/java/com/tzld/piaoquan/longarticle/service/local/impl/CoreServiceImpl.java

+ 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(