wanghui лет назад: 7
Родитель
Сommit
1842482e1f
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      src/main/java/com/goafanti/common/mapper/UserMapperExt.xml

+ 2 - 0
src/main/java/com/goafanti/common/mapper/UserMapperExt.xml

@@ -250,6 +250,7 @@
 		 <if test="page_sql != null">
     		${page_sql}
    		 </if>
+   		 order by a.create_time desc
 	</select>
 	<select id="selectOrganizationCustomerCount" resultType="java.lang.Integer">
 		select 
@@ -750,6 +751,7 @@
 	<if test="endDate != null and endDate != ''">
 		and a.create_time &lt; STR_TO_DATE(#{endDate},'%Y-%m-%d %H:%i:%s')
 	</if>
+	order by a.create_time desc 
 	<if test="page_sql != null">
     	${page_sql}
     </if>