fix:角色改密
This commit is contained in:
@@ -46,6 +46,27 @@
|
||||
LIMIT 1
|
||||
</select>
|
||||
|
||||
<select id="selectAllAccounts" resultMap="AuthFullAccountResultMap">
|
||||
SELECT id,
|
||||
role_code,
|
||||
uid,
|
||||
account_name,
|
||||
display_name,
|
||||
password_hash,
|
||||
password_salt,
|
||||
status,
|
||||
need_change_password,
|
||||
password_changed_at,
|
||||
failed_count,
|
||||
locked_until,
|
||||
last_login_at,
|
||||
last_active_at,
|
||||
create_time,
|
||||
update_time
|
||||
FROM tms_auth_full_account
|
||||
ORDER BY role_code ASC, uid ASC
|
||||
</select>
|
||||
|
||||
<select id="selectByRoleCode" resultMap="AuthFullAccountResultMap">
|
||||
SELECT id,
|
||||
role_code,
|
||||
|
||||
@@ -26,4 +26,16 @@
|
||||
WHERE role_code = #{roleCode}
|
||||
LIMIT 1
|
||||
</select>
|
||||
|
||||
<select id="selectAllRoles" resultMap="RoleAccountResultMap">
|
||||
SELECT id,
|
||||
role_code,
|
||||
display_name,
|
||||
required_ukey_count,
|
||||
status,
|
||||
create_time,
|
||||
update_time
|
||||
FROM tms_role_account
|
||||
ORDER BY role_code ASC
|
||||
</select>
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user