From c816ac85408801b4160e12fc56401c9c7d9e71ae Mon Sep 17 00:00:00 2001 From: ronger Date: Fri, 25 Sep 2020 14:03:04 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20sql=20=E9=94=99=E8=AF=AF=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/mapper/ArticleMapper.xml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/main/java/mapper/ArticleMapper.xml b/src/main/java/mapper/ArticleMapper.xml index 18987cc..d1f80cf 100644 --- a/src/main/java/mapper/ArticleMapper.xml +++ b/src/main/java/mapper/ArticleMapper.xml @@ -87,12 +87,13 @@ select art.*,su.nickname,su.avatar_url from vertical_article art join vertical_user su on art.article_author_id = su.id where article_status = '0' - and FIND_IN_SET("划水",art.article_tags) = 0 + and FIND_IN_SET('划水',art.article_tags) = 0 order by updated_time desc