Uat_Study
hang 2022-07-04 16:47:37 +08:00
parent ef2e125531
commit b782c8acfc
1 changed files with 2 additions and 2 deletions

View File

@ -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();