From b782c8acfceb240a7f7434c8333bfc33424a0325 Mon Sep 17 00:00:00 2001 From: hang <872297557@qq.com> Date: Mon, 4 Jul 2022 16:47:37 +0800 Subject: [PATCH] x --- .../Service/Allocation/TaskConsistentRuleService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/IRaCIS.Core.Application/Service/Allocation/TaskConsistentRuleService.cs b/IRaCIS.Core.Application/Service/Allocation/TaskConsistentRuleService.cs index 81e9a32eb..e3831ebe9 100644 --- a/IRaCIS.Core.Application/Service/Allocation/TaskConsistentRuleService.cs +++ b/IRaCIS.Core.Application/Service/Allocation/TaskConsistentRuleService.cs @@ -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(_mapper.ConfigurationProvider); return await taskConsistentRuleQueryable.ToListAsync();