IRC_NewDev
he 2024-11-26 15:29:52 +08:00
parent eb363fd564
commit 93f660a2ca
1 changed files with 1 additions and 0 deletions

View File

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