筛选医生的时候判断用户是否存在账号

Uat_Study
{872297557@qq.com} 2022-12-02 17:41:15 +08:00
parent 94a8e4d891
commit 42aa4147bf
1 changed files with 3 additions and 1 deletions

View File

@ -164,7 +164,9 @@ namespace IRaCIS.Application.Services
DoctorId = doctorId,
TrialId = trialId,
EnrollStatus = EnrollStatus.HasApplyDownloadResume,
});
DoctorUserId = _repository.Where<User>(t => t.DoctorId == doctorId).Select(t => t.Id).FirstOrDefault()
}); ;
await _enrollDetailRepository.AddAsync(new EnrollDetail()
{