浏览代码

更改用户排序

hym 4 年之前
父节点
当前提交
d18f02a0c0
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/resources/mapper/UserMapper.xml

+ 1 - 1
src/main/resources/mapper/UserMapper.xml

@@ -212,7 +212,7 @@
         <if test="mobilePhone != null and mobilePhone != ''"> AND su.mobile_phone LIKE concat('%',#{mobilePhone},'%')</if>
         <if test="roleId != null"> and sr.id = #{roleId} </if>
         <if test="organId != null"> and so.id = #{organId} </if>
-        order by su.type asc,su.create_date desc
+        order by ssu.type asc,su.create_date desc
     </select>
 
 	<select id="findUserByOrgsIds" resultType="com.zoniot.ccrc.entity.User">