正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
@@ -143,8 +143,8 @@ with | @@ -143,8 +143,8 @@ with | ||
143 | -- 过滤出可展示的文章id | 143 | -- 过滤出可展示的文章id |
144 | t_article_and_tag_2 as ( | 144 | t_article_and_tag_2 as ( |
145 | select article_and_tag.article_id,article_and_tag.tag_id | 145 | select article_and_tag.article_id,article_and_tag.tag_id |
146 | - from article_and_tag | ||
147 | - join article on article_and_tag.article_id = article.id | 146 | + from article |
147 | + join article_and_tag on article_and_tag.article_id = article.id | ||
148 | where article.deleted_at=0 | 148 | where article.deleted_at=0 |
149 | and article.company_id = ? | 149 | and article.company_id = ? |
150 | and article."show" = ? | 150 | and article."show" = ? |
-
请 注册 或 登录 后发表评论