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

This commit is contained in:
2022-12-02 17:41:15 +08:00
parent 94a8e4d891
commit 42aa4147bf
@@ -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()
{