修改site 添加 初始状态
parent
f09954686b
commit
a73c8f2056
|
@ -41,7 +41,7 @@ namespace IRaCIS.Core.Application.AutoMapper
|
||||||
CreateMap<Trial, TrialSurveyInitInfo>()
|
CreateMap<Trial, TrialSurveyInitInfo>()
|
||||||
.ForMember(d => d.Sponsor, u => u.MapFrom(s => s.Sponsor.SponsorName))
|
.ForMember(d => d.Sponsor, u => u.MapFrom(s => s.Sponsor.SponsorName))
|
||||||
.ForMember(d => d.IndicationType, u => u.MapFrom(s => s.IndicationType.Value))
|
.ForMember(d => d.IndicationType, u => u.MapFrom(s => s.IndicationType.Value))
|
||||||
.ForMember(d => d.TrialSiteSelectList, u => u.MapFrom(s => s.TrialSiteList.Where(t=>t.TrialSiteCode.Length>0)))
|
.ForMember(d => d.TrialSiteSelectList, u => u.MapFrom(s => s.TrialSiteList))
|
||||||
.ForMember(d => d.TrialId, u => u.MapFrom(s => s.Id));
|
.ForMember(d => d.TrialId, u => u.MapFrom(s => s.Id));
|
||||||
|
|
||||||
CreateMap<TrialSite, TrialSiteForSelect>()
|
CreateMap<TrialSite, TrialSiteForSelect>()
|
||||||
|
|
|
@ -42,6 +42,8 @@ namespace IRaCIS.Core.Application.Contracts.DTO
|
||||||
|
|
||||||
public string SiteName { get; set; }
|
public string SiteName { get; set; }
|
||||||
|
|
||||||
|
public bool IsDeleted { get; set; } = true;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public class EditTrialSiteCommand
|
public class EditTrialSiteCommand
|
||||||
|
|
Loading…
Reference in New Issue