Browse Source

消息通知,排序规则

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

7
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.DEL_FLAG = '0'
AND en.NOTICE_RELEASE_STATE = 1 AND en.NOTICE_RELEASE_STATE = 1
ORDER BY ORDER BY
en.RELEASE_TIME DESC <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} LIMIT #{pageIndex},#{pageSize}
</select> </select>

Loading…
Cancel
Save