fix bug 40234 用户管理--新增用户--没有按照创建时间倒序排列

This commit is contained in:
lijiarao
2021-10-11 16:09:32 +08:00
parent 7ba397325b
commit ad719e504b
@@ -182,6 +182,9 @@
<if test="user.username != null and user.username != ''">
and a.username LIKE CONCAT('%', #{user.username},'%')
</if>
<if test="user.realname != null and user.realname != ''">
and a.realname LIKE CONCAT('%', #{user.realname},'%')
</if>
<if test="user.orgCode != null and user.orgCode != ''">
and a.id not in (select user_id from sys_user_depart where dep_id =
(select id from sys_depart where org_code = #{user.orgCode}))
@@ -190,7 +193,7 @@
and a.id = #{user.id}
</if>
</where>
order by a.create_time desc
</select>
<select id="getRoleNameByUserIds" resultType="com.jero.modules.system.entity.SysRole">