日志遗漏接口
continuous-integration/drone/push Build is passing Details

Uat_Study^2
hang 2024-05-31 09:09:28 +08:00
parent 570c5863c0
commit 39a9a0c05d
2 changed files with 17 additions and 1 deletions

View File

@ -53,6 +53,16 @@ namespace IRaCIS.Application.Contracts
public string RealName { get; set; } = String.Empty; public string RealName { get; set; } = String.Empty;
public string UserName { get; set; } = String.Empty; public string UserName { get; set; } = String.Empty;
} }
public class TrialUserBasicInfo
{
public Guid UserTypeId { get; set; }
public string UserName { get; set; }
public string FullName { get; set; }
public Guid UserId { get; set; }
}
public class TrialMaintenanceDTO : UserTrialCommand public class TrialMaintenanceDTO : UserTrialCommand
{ {

View File

@ -62,7 +62,13 @@ namespace IRaCIS.Application.Services
#endregion #endregion
[HttpGet]
public async Task<List<TrialUserBasicInfo>> GetTrialUserList(Guid trialId)
{
return await _trialUseRepository.Where(t => t.TrialId == trialId, ignoreQueryFilters: true)
.Select(t => new TrialUserBasicInfo() { FullName = t.User.FullName, UserId = t.UserId, UserTypeId = t.User.UserTypeId, UserName = t.User.UserName })
.ToListAsync();
}
/// <summary> /// <summary>
/// Setting页面 获取项目参与人员列表 /// Setting页面 获取项目参与人员列表