切换账户排序修改
continuous-integration/drone/push Build is passing Details

Uat_IRC_Net8
hang 2025-03-18 13:55:30 +08:00
parent 5cf8c7a898
commit 73f5e67e3c
1 changed files with 5 additions and 5 deletions

View File

@ -535,7 +535,7 @@ namespace IRaCIS.Core.Application.Service
if (user != null) if (user != null)
{ {
user.AccountList = await _userRoleRepository.Where(t => t.IdentityUserId == identityUserId).ProjectTo<UserAccountInfo>(_mapper.ConfigurationProvider).ToListAsync(); user.AccountList = await _userRoleRepository.Where(t => t.IdentityUserId == identityUserId).ProjectTo<UserAccountInfo>(_mapper.ConfigurationProvider).OrderBy(t => t.UserTypeShortName).ToListAsync();
} }
return user; return user;