日志遗漏接口
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
570c5863c0
commit
39a9a0c05d
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
|
@ -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页面 获取项目参与人员列表
|
||||||
|
|
Loading…
Reference in New Issue