فهرست منبع

根据站点user创建时间倒序

hym 4 سال پیش
والد
کامیت
28a06f2020
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

@@ -455,7 +455,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.create_date desc
+        order by ssu.create_date desc
     </select>
 
 	<select id="findUserByOrgsIds" resultType="com.bz.smart_city.entity.User">