Просмотр исходного кода

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

anderx лет назад: 7
Родитель
Сommit
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">
 			<if test="resourceType != null">
 				and b.resource_type = #{resourceType,jdbcType=INTEGER}
 				and b.resource_type = #{resourceType,jdbcType=INTEGER}
 			</if>
 			</if>
+			order by b.create_time DESC
 			<if test="page_sql!=null">
 			<if test="page_sql!=null">
 				${page_sql}
 				${page_sql}
 			</if>
 			</if>