提交 c6f0fe51 编写于 作者: Y yadong.zhang

解决文章列表统计评论数错误的问题

上级 846fc483
......@@ -79,6 +79,7 @@
IFNULL(count(1), 0) AS commentCount
FROM
biz_comment c
WHERE c.status = 'APPROVED'
GROUP BY
sid
) c ON a.id = c.sid
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册