master
he 2022-12-13 10:40:43 +08:00
parent 48736c4c3d
commit fabdcc49b9
1 changed files with 9 additions and 2 deletions

View File

@ -226,8 +226,15 @@ namespace IRaCIS.Application.Services
public PageOutput<SelectionReviewerDTO> GetSelectionReviewerList(
ReviewerSelectionQueryDTO selectionQueryParam)
{
var trial = _trialRepository.FindSingleOrDefault(s=>s.Id== selectionQueryParam.TrialId);
selectionQueryParam.Nation = trial.AttendedReviewerType;
var trial = _trialRepository.FindSingleOrDefault(s => s.Id == selectionQueryParam.TrialId);
// 如果是CN&Abroad 为2 就不筛选
if (trial.AttendedReviewerType != 2)
{
selectionQueryParam.Nation = trial.AttendedReviewerType;
}
var dic = GetDictionary();
//医生条件搜索Lambda拼接
Expression<Func<Doctor, bool>> doctorLambda = GetDoctorSearchLambda(selectionQueryParam); ;