소스 검색

用户排序BUG

lin 4 년 전
부모
커밋
39fb0e4d07
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      smart-city-platform/src/main/resources/mapper/UserMapper.xml

+ 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">