fix: sql条件错误

This commit is contained in:
禾几海
2021-03-16 15:54:26 +08:00
parent 65c31e96b4
commit 91a818d293

View File

@@ -204,8 +204,7 @@
tag_category as category, tag_category as category,
article_tag, article_tag,
user user
where article.is_delete = false where article.a_id = article_tag.a_id
and article.a_id = article_tag.a_id
and article.a_category_id = category.t_id and article.a_category_id = category.t_id
and category.is_category = true and category.is_category = true
and article.a_author_id = user.u_id and article.a_author_id = user.u_id