소스 검색

Merge remote-tracking branch 'origin/dev' into dev

fangzhen 4 달 전
부모
커밋
9cf23463e1
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      ruoyi-generator/src/main/resources/mapper/community/CommunityArticleCommentMapper.xml

+ 1 - 1
ruoyi-generator/src/main/resources/mapper/community/CommunityArticleCommentMapper.xml

@@ -13,7 +13,7 @@
                       where a.article_id = #{articleId}
                         and b.is_delete != 1) as replyCount
               from community_article_comment c
-              where c.article_id = #{articleId}) as d
+              where c.article_id = #{articleId} and  c.is_delete != 1 ) as d
     </select>
 
     <select id="queryCommentReplyCount" resultType="java.lang.Integer">