From 93f660a2ca70ac447a7902f564f126f28feec98f Mon Sep 17 00:00:00 2001 From: he <109787524@qq.com> Date: Tue, 26 Nov 2024 15:29:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- IRaCIS.Core.Application/Service/Doctor/DoctorListService.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/IRaCIS.Core.Application/Service/Doctor/DoctorListService.cs b/IRaCIS.Core.Application/Service/Doctor/DoctorListService.cs index 778964266..1f76ff680 100644 --- a/IRaCIS.Core.Application/Service/Doctor/DoctorListService.cs +++ b/IRaCIS.Core.Application/Service/Doctor/DoctorListService.cs @@ -31,6 +31,7 @@ namespace IRaCIS.Core.Application.Service var query = _doctorRepository.AsQueryable() + .Where(x=>x.TrialId==null) .WhereIf(inQuery.DepartmentId != null, t => t.DepartmentId == inQuery.DepartmentId) .WhereIf(inQuery.SpecialityId != null, t => t.SpecialityId == inQuery.SpecialityId) .WhereIf(inQuery.HospitalId != null, t => t.HospitalId == inQuery.HospitalId)