@@ -58,6 +58,7 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
||||
|
||||
public string VisitName { get; set; }
|
||||
|
||||
public Guid? TrialSiteId { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -841,6 +841,8 @@ namespace IRaCIS.Core.Application.Service
|
||||
.WhereIf(inDto.ReadingSetType != null, x => x.ReadingSetType == inDto.ReadingSetType)
|
||||
.WhereIf(inDto.SubjectCode.IsNotNullOrEmpty(), x => x.Subject.Code.Contains(inDto.SubjectCode))
|
||||
.WhereIf(inDto.VisitName.IsNotNullOrEmpty(), x => x.SubjectVisit.VisitName.Contains(inDto.VisitName))
|
||||
.WhereIf(inDto.ModuleName.IsNotNullOrEmpty(), x => x.ModuleName.Contains(inDto.ModuleName))
|
||||
.WhereIf(inDto.TrialSiteId != null, x => x.Subject.TrialSiteId == inDto.TrialSiteId)
|
||||
.ProjectTo<GetReadModulePageListOutDto>(_mapper.ConfigurationProvider);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user