Explorar o código

用户倒序排列

hym %!s(int64=4) %!d(string=hai) anos
pai
achega
881e99f4f2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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.create_date desc
+        order by ssu.create_date desc
     </select>
 
 	<select id="findUserByOrgsIds" resultType="com.zoniot.ccrc.entity.User">