Uat_Study
parent
ef2e125531
commit
b782c8acfc
|
@ -247,8 +247,8 @@ namespace IRaCIS.Core.Application.Service
|
|||
{
|
||||
|
||||
var taskConsistentRuleQueryable = _taskConsistentRuleRepository.Where(t => t.TrialId == inQuery.TrialId)
|
||||
.WhereIf(inQuery.IsSelfAnalysis, t => t.CompareDoctorUserId != null)
|
||||
.WhereIf(inQuery.IsSelfAnalysis == false, t => t.CompareDoctorUserId == null)
|
||||
.WhereIf(inQuery.IsSelfAnalysis, t => t.CompareDoctorUserId == null)
|
||||
.WhereIf(inQuery.IsSelfAnalysis == false, t => t.CompareDoctorUserId != null)
|
||||
.ProjectTo<TaskConsistentRuleView>(_mapper.ConfigurationProvider);
|
||||
|
||||
return await taskConsistentRuleQueryable.ToListAsync();
|
||||
|
|
Loading…
Reference in New Issue