Browse Source

内容管理增加排序

feature/syp_points
liuchuang 5 years ago
parent
commit
744a058a91
  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

@ -51,6 +51,9 @@
<if test="noticeImageUrl != null and noticeImageUrl != ''"> <if test="noticeImageUrl != null and noticeImageUrl != ''">
NOTICE_IMAGE_URL = #{noticeImageUrl}, NOTICE_IMAGE_URL = #{noticeImageUrl},
</if> </if>
<if test="noticeVideoUrl != null and noticeVideoUrl != ''">
NOTICE_VIDEO_URL = #{noticeVideoUrl},
</if>
notice_title = #{noticeTitle}, notice_title = #{noticeTitle},
notice_content = #{noticeContent}, notice_content = #{noticeContent},
all_dept_ids = #{allDeptIds}, all_dept_ids = #{allDeptIds},
@ -177,6 +180,6 @@
<if test="noticeTitle != null and noticeTitle.trim() != ''"> <if test="noticeTitle != null and noticeTitle.trim() != ''">
and t1.NOTICE_TITLE like concat('%', #{noticeTitle}, '%') and t1.NOTICE_TITLE like concat('%', #{noticeTitle}, '%')
</if> </if>
order by t1.CREATED_TIME desc order by t1.SORT, t1.RELEASE_TIME desc
</select> </select>
</mapper> </mapper>

Loading…
Cancel
Save