修改项目添加参与人员
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
25116a9f0e
commit
2eaf2d5c69
|
@ -191,6 +191,9 @@ namespace IRaCIS.Application.Contracts
|
|||
|
||||
public class TrialUserRoleScreeningDto
|
||||
{
|
||||
public Guid TrialId { get; set; }
|
||||
|
||||
public Guid UserId => Id;
|
||||
public Guid Id { get; set; }
|
||||
|
||||
public Guid IdentityUserId { get; set; }
|
||||
|
|
|
@ -144,6 +144,7 @@ namespace IRaCIS.Core.Application.Service
|
|||
.Select(t => new TrialUserRoleScreeningDto()
|
||||
{
|
||||
Id = t.Id,
|
||||
TrialId=inQuery.TrialId,
|
||||
IdentityUserId = t.IdentityUserId,
|
||||
EMail = t.IdentityUser.EMail,
|
||||
FullName = t.IdentityUser.FullName,
|
||||
|
|
|
@ -97,6 +97,7 @@ namespace IRaCIS.Core.Application.Service
|
|||
.ForMember(d => d.TrialSiteId, u => u.MapFrom(t => trialSiteId))
|
||||
.ForMember(d => d.UserType, u => u.MapFrom(t => t.UserRole.UserTypeRole.UserTypeShortName))
|
||||
.ForMember(d => d.IsSelect, u => u.MapFrom(t => t.Trial.TrialSiteUserList.Any(k => k.UserId == t.UserId && k.TrialSiteId== trialSiteId)));
|
||||
|
||||
CreateMap<UserRole, AssginSiteCRCListDTO>();
|
||||
|
||||
var trialId = Guid.Empty;
|
||||
|
|
Loading…
Reference in New Issue