x
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user