作者 tangxvhui

调整查询sql

... ... @@ -143,8 +143,8 @@ with
-- 过滤出可展示的文章id
t_article_and_tag_2 as (
select article_and_tag.article_id,article_and_tag.tag_id
from article_and_tag
join article on article_and_tag.article_id = article.id
from article
join article_and_tag on article_and_tag.article_id = article.id
where article.deleted_at=0
and article.company_id = ?
and article."show" = ?
... ...