修改映射
continuous-integration/drone/push Build is passing Details

Test_HIR_Net8
hang 2025-08-15 14:44:17 +08:00
parent 083090ca05
commit dedb1c152f
2 changed files with 2 additions and 2 deletions

View File

@ -84,7 +84,6 @@ namespace IRaCIS.Application.Contracts
{
public Guid IdentityUserId { get; set; }
public Guid UserRoleId { get; set; }
public bool IsMutiAccount => AccountList?.Count > 1;
public List<UserAccountInfo> AccountList { get; set; }

View File

@ -138,7 +138,8 @@ namespace IRaCIS.Core.Application.Service
CreateMap<UserCommand, IdentityUser>();
CreateMap<IdentityUser, UserBasicInfo>();
CreateMap<IdentityUser, UserBasicInfo>()
.ForMember(d => d.IdentityUserId, c => c.MapFrom(t => t.Id));