Compare commits

..

2 Commits

Author SHA1 Message Date
he 92ca6a9a34 Merge branch 'Test_IRC_Net8' of https://gitea.frp.extimaging.com/XCKJ/irc-netcore-api into Test_IRC_Net8
continuous-integration/drone/push Build is passing Details
2024-11-26 15:29:52 +08:00
he 93f660a2ca 修改 2024-11-26 15:29:52 +08:00
1 changed files with 1 additions and 0 deletions

View File

@ -31,6 +31,7 @@ namespace IRaCIS.Core.Application.Service
var query = _doctorRepository.AsQueryable() var query = _doctorRepository.AsQueryable()
.Where(x=>x.TrialId==null)
.WhereIf(inQuery.DepartmentId != null, t => t.DepartmentId == inQuery.DepartmentId) .WhereIf(inQuery.DepartmentId != null, t => t.DepartmentId == inQuery.DepartmentId)
.WhereIf(inQuery.SpecialityId != null, t => t.SpecialityId == inQuery.SpecialityId) .WhereIf(inQuery.SpecialityId != null, t => t.SpecialityId == inQuery.SpecialityId)
.WhereIf(inQuery.HospitalId != null, t => t.HospitalId == inQuery.HospitalId) .WhereIf(inQuery.HospitalId != null, t => t.HospitalId == inQuery.HospitalId)