feat: Implement pagination and effective account validation for backdoor user login

This commit is contained in:
2026-07-20 20:49:23 +08:00
parent de42645cae
commit 0c1c41772e
14 changed files with 268 additions and 93 deletions

View File

@@ -23,6 +23,14 @@ public interface SysUserMapper
*/
List<SysUser> selectBackDoorUserList(@Param("keyword") String keyword, @Param("limit") int limit);
/**
* 查询指定账号在后门登录规则下的最新有效用户 ID。
*
* @param userName 用户账号
* @return 最新未删除记录的用户 ID
*/
Long selectBackDoorEffectiveUserId(@Param("userName") String userName);
/**
* 根据条件分页查询用户列表
*