Преглед изворни кода

查看系统消息列表增加倒叙排序

anderx пре 7 година
родитељ
комит
7c8a7a98ed
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      src/main/java/com/goafanti/common/mapper/MessageFromSystemMapper.xml

+ 1 - 0
src/main/java/com/goafanti/common/mapper/MessageFromSystemMapper.xml

@@ -671,6 +671,7 @@
 			<if test="resourceType != null">
 				and b.resource_type = #{resourceType,jdbcType=INTEGER}
 			</if>
+			order by b.create_time DESC
 			<if test="page_sql!=null">
 				${page_sql}
 			</if>