From b5b662036cc47941647b71a7a4f072beb35e998b Mon Sep 17 00:00:00 2001 From: zhaoqifeng Date: Thu, 11 Jun 2020 15:56:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=B9=E6=8D=AE=E6=A0=87=E7=AD=BE=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../gov-voice-server/src/main/resources/mapper/ArticleDao.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/epmet-module/gov-voice/gov-voice-server/src/main/resources/mapper/ArticleDao.xml b/epmet-module/gov-voice/gov-voice-server/src/main/resources/mapper/ArticleDao.xml index f8fa5f43a7..f4d41ffa88 100644 --- a/epmet-module/gov-voice/gov-voice-server/src/main/resources/mapper/ArticleDao.xml +++ b/epmet-module/gov-voice/gov-voice-server/src/main/resources/mapper/ArticleDao.xml @@ -114,13 +114,15 @@ apr.GRID_ID = #{gridId} ) t + WHERE + 1 = 1 AND EXISTS( SELECT 1 FROM ARTICLE_TAGS WHERE DEL_FLAG = '0' - AND ARTICLE_ID = a.ID + AND ARTICLE_ID = t.articleId AND TAG_ID=#{tagId} )