diff --git a/src/main/resources/mapper/articleMapper.xml b/src/main/resources/mapper/articleMapper.xml index 3454c75..a3803fb 100644 --- a/src/main/resources/mapper/articleMapper.xml +++ b/src/main/resources/mapper/articleMapper.xml @@ -204,8 +204,7 @@ tag_category as category, article_tag, user - where article.is_delete = false - and article.a_id = article_tag.a_id + where article.a_id = article_tag.a_id and article.a_category_id = category.t_id and category.is_category = true and article.a_author_id = user.u_id