VerifyAnonymousVerifyCode增加用户类型

Uat_Study
hang 2022-04-15 15:48:52 +08:00
parent 4fee73a692
commit dfd556efad
2 changed files with 3 additions and 1 deletions

View File

@ -182,6 +182,8 @@ namespace IRaCIS.Application.Contracts
public string UserName { get; set; } = string.Empty; public string UserName { get; set; } = string.Empty;
public string UserRealName { get; set; } = string.Empty; public string UserRealName { get; set; } = string.Empty;
public string UserType { get; set; } = string.Empty;
} }
public class UserListQueryDTO : PageInput public class UserListQueryDTO : PageInput

View File

@ -247,7 +247,7 @@ namespace IRaCIS.Application.Services
} }
} }
var list = await _userRepository.Where(t => t.EMail == email).Select(t => new UserAccountDto() { UserId = t.Id, UserName = t.UserName, UserRealName = t.LastName + " / " + t.FirstName }).ToListAsync(); var list = await _userRepository.Where(t => t.EMail == email).Select(t => new UserAccountDto() { UserId = t.Id, UserName = t.UserName, UserRealName = t.LastName + " / " + t.FirstName,UserType = t.UserTypeRole.UserTypeShortName}).ToListAsync();