Browse Source

管理员列表排序

anderx 7 years ago
parent
commit
12646d12d3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/java/com/goafanti/common/mapper/AdminMapper.xml

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

@@ -683,7 +683,7 @@
     <if test="province != null">
     	and a.province = #{province,jdbcType=VARCHAR}
     </if>
-    order by a.number 
+    order by a.last_login_time desc,a.number 
     <if test="page_sql!=null">
 			${page_sql}
 	</if>