Browse Source

消息通知,排序规则

feature/syp_points
zhangyongzhangyong 5 years ago
parent
commit
235092e851
  1. 5
      esua-epdc/epdc-module/epdc-news/epdc-news-server/src/main/resources/mapper/NoticeDao.xml

5
esua-epdc/epdc-module/epdc-news/epdc-news-server/src/main/resources/mapper/NoticeDao.xml

@ -113,7 +113,12 @@
AND en.DEL_FLAG = '0'
AND en.NOTICE_RELEASE_STATE = 1
ORDER BY
<if test='noticeCategory != null and noticeCategory != "" and noticeCategory == "6"'>
en.RELEASE_TIME DESC
</if>
<if test='noticeCategory != null and noticeCategory != "" and noticeCategory != "6"'>
en.READING_AMOUNT DESC
</if>
LIMIT #{pageIndex},#{pageSize}
</select>

Loading…
Cancel
Save