|
@@ -10,7 +10,7 @@
|
|
(select count(1) as replyCount
|
|
(select count(1) as replyCount
|
|
from community_article_comment a
|
|
from community_article_comment a
|
|
left join community_comment_reply b on a.id = b.comment_id
|
|
left join community_comment_reply b on a.id = b.comment_id
|
|
- where a.article_id = #{articleId}) as replyCount
|
|
|
|
|
|
+ where a.article_id = #{articleId} and b.is_delete != 1) as replyCount
|
|
from community_article_comment c
|
|
from community_article_comment c
|
|
where c.article_id = #{articleId}) as d
|
|
where c.article_id = #{articleId}) as d
|
|
</select>
|
|
</select>
|