fix:角色改密

This commit is contained in:
waner
2026-04-27 10:31:19 +08:00
parent 291c7cfc8a
commit 4ecda99001
18 changed files with 405 additions and 66 deletions
@@ -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>