forked from Gitlink/microservices
fix(dms):社区动态总数去除评论数
This commit is contained in:
parent
e8bdc8fc92
commit
4ada9fc829
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue