修改查询

This commit is contained in:
2022-07-07 16:20:51 +08:00
parent 56badbff49
commit 8aef6ddf16
@@ -275,7 +275,7 @@ namespace IRaCIS.Core.Application.Service
{
var query = from enroll in _repository.Where<Enroll>(t => t.TrialId == trialId)
join user in _repository.Where<User>() on enroll.DoctorId equals user.DoctorId
join taskConsistentRule in _repository.Where<TaskConsistentRule>() on user.Id equals taskConsistentRule.AnalysisDoctorUserId into c
join taskConsistentRule in _repository.Where<TaskConsistentRule>(t=>t.TrialId==addOrEdit.TrialId) on user.Id equals taskConsistentRule.AnalysisDoctorUserId into c
from taskConsistentRule in c.DefaultIfEmpty()
select new
{