From 0ca3fedb860391fff45045849747a957df514c57 Mon Sep 17 00:00:00 2001 From: Jackwang Date: Tue, 12 Oct 2021 15:37:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- epdc-cloud-news/src/main/resources/mapper/NoticeDao.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/epdc-cloud-news/src/main/resources/mapper/NoticeDao.xml b/epdc-cloud-news/src/main/resources/mapper/NoticeDao.xml index 91cdd93..1490ed9 100644 --- a/epdc-cloud-news/src/main/resources/mapper/NoticeDao.xml +++ b/epdc-cloud-news/src/main/resources/mapper/NoticeDao.xml @@ -161,10 +161,12 @@ AND en.DEL_FLAG = '0' AND en.NOTICE_RELEASE_STATE = '1' AND en.NOTICE_UP_DOWN_STATE = '1' - and mt.module_type='1' AND FIND_IN_SET(#{typeId},ALL_TYPE_ID) + + and mt.module_type='1' + ORDER BY en.RELEASE_TIME DESC LIMIT #{pageIndex},#{pageSize}