From 701500f3d7f6901276154bf62dd581d7937851bf Mon Sep 17 00:00:00 2001 From: zxc <1272811460@qq.com> Date: Fri, 23 Jul 2021 17:30:00 +0800 Subject: [PATCH] aaa --- .../gov-voice-server/src/main/resources/mapper/ArticleDao.xml | 3 ++- 1 file changed, 2 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 d8f1691afa..c9196dcb15 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 @@ -362,11 +362,12 @@ (art.ID = prange.ARTICLE_ID AND prange.DEL_FLAG = '0' AND prange.PUBLISH_STATUS = 'published' AND prange.GRID_ID = #{gridId} ) LEFT JOIN article_tags ats ON (ats.ARTICLE_ID = art.ID) LEFT JOIN article_cover ac ON (ac.ARTICLE_ID = art.ID AND ac.DEL_FLAG = 0) + LEFT JOIN article_publish_range pr ON (pr.ARTICLE_ID = art.ID AND pr.DEL_FLAG = 0) WHERE art.DEL_FLAG = '0' AND art.STATUS_FLAG = 'published' AND ats.TAG_ID = #{tagId} - AND art.GRID_ID = #{gridId} + AND pr.GRID_ID = #{gridId} ORDER BY art.PUBLISH_DATE DESC, art.CREATED_TIME DESC