From 2f76d8e41e3a2d36babca70dd6ef03fe76a69b93 Mon Sep 17 00:00:00 2001 From: Bill <771989711@qq.com> Date: Tue, 10 Oct 2023 16:55:15 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BF=AE=E5=A4=8Dbug=E3=80=91?= =?UTF-8?q?=E7=94=A8=E6=88=B7=E8=B7=B3=E8=BD=AC=E5=88=B0=E5=85=B6=E4=BB=96?= =?UTF-8?q?=E7=A4=BE=E5=8C=BA=E6=96=87=E7=AB=A0=E8=AF=A6=E6=83=85=E6=97=A0?= =?UTF-8?q?=E6=B3=95=E6=9F=A5=E7=9C=8B?= 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, 2 insertions(+), 2 deletions(-) diff --git a/code/smart-community/epmet-module/gov-voice/gov-voice-server/src/main/resources/mapper/ArticleDao.xml b/code/smart-community/epmet-module/gov-voice/gov-voice-server/src/main/resources/mapper/ArticleDao.xml index 7eebcc9e..5ddab792 100644 --- a/code/smart-community/epmet-module/gov-voice/gov-voice-server/src/main/resources/mapper/ArticleDao.xml +++ b/code/smart-community/epmet-module/gov-voice/gov-voice-server/src/main/resources/mapper/ArticleDao.xml @@ -303,7 +303,7 @@ IFNULL(content2.CONTENT,'') CONTENT, content2.CONTENT_TYPE, IFNULL(content2.FILE_NAME,'') FILE_NAME, - (SELECT COUNT(1) FROM ARTICLE_VISIT_RECORD WHERE DEL_FLAG = '0' AND ARTICLE_ID = #{articleId} AND GRID_ID = #{gridId}) AS visitRecordCount, + (SELECT COUNT(1) FROM ARTICLE_VISIT_RECORD WHERE DEL_FLAG = '0' AND ARTICLE_ID = #{articleId}) AS visitRecordCount, art.CUSTOMER_ID FROM ARTICLE art @@ -327,7 +327,7 @@ ) content2 ON art.ID = content2.ARTICLE_ID INNER JOIN ARTICLE_PUBLISH_RANGE prange - ON art.ID = prange.ARTICLE_ID AND prange.DEL_FLAG = '0' AND prange.GRID_ID = #{gridId} AND prange.PUBLISH_STATUS = 'published' + ON art.ID = prange.ARTICLE_ID AND prange.DEL_FLAG = '0' AND prange.PUBLISH_STATUS = 'published' WHERE art.DEL_FLAG = '0'