fix(dms):社区动态总数去除评论数

This commit is contained in:
wanjia 2026-03-26 09:38:47 +08:00
parent e8bdc8fc92
commit 4ada9fc829
1 changed files with 1 additions and 1 deletions

View File

@ -473,7 +473,7 @@
from (
(select count(1) as "auditSum"
from memos
where destroy_status is null and hidden = 0 and published_at is not null) a,
where destroy_status is null and hidden = 0 and published_at is not null AND root_id IS NULL) a,
(select count(1) as "allSum" from memos) b,
(select count(1) as "currentYearSum"
from memos