Explorar o código

用户排序BUG

lin %!s(int64=4) %!d(string=hai) anos
pai
achega
39fb0e4d07

+ 1 - 1
smart-city-platform/src/main/resources/mapper/UserMapper.xml

@@ -454,7 +454,7 @@
         <if test="organId != null"> and ssu.organ_id = #{organId} </if>
         <if test="roleId != null"> and sr.id = #{roleId} </if>
         <if test="programId != null"> and surp.program_id = #{programId} </if>
-        order by su.type asc,su.create_date desc
+        order by su.type asc,ssu.create_date desc
     </select>
 
 	<select id="findUserByOrgsIds" resultType="com.bz.smart_city.entity.User">