筛选医生的时候判断用户是否存在账号
parent
94a8e4d891
commit
42aa4147bf
|
@ -164,7 +164,9 @@ namespace IRaCIS.Application.Services
|
||||||
DoctorId = doctorId,
|
DoctorId = doctorId,
|
||||||
TrialId = trialId,
|
TrialId = trialId,
|
||||||
EnrollStatus = EnrollStatus.HasApplyDownloadResume,
|
EnrollStatus = EnrollStatus.HasApplyDownloadResume,
|
||||||
});
|
|
||||||
|
DoctorUserId = _repository.Where<User>(t => t.DoctorId == doctorId).Select(t => t.Id).FirstOrDefault()
|
||||||
|
}); ;
|
||||||
|
|
||||||
await _enrollDetailRepository.AddAsync(new EnrollDetail()
|
await _enrollDetailRepository.AddAsync(new EnrollDetail()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue