From 424a05c2115dafff3510ff3b9f1a06d881d54ef6 Mon Sep 17 00:00:00 2001 From: he <1097837524@qq.com> Date: Tue, 5 Nov 2024 13:07:24 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AE=80=E5=8E=86=E4=BF=A1=E6=81=AF=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Service/SiteSurvey/TrialSiteSurveyService.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/IRaCIS.Core.Application/Service/SiteSurvey/TrialSiteSurveyService.cs b/IRaCIS.Core.Application/Service/SiteSurvey/TrialSiteSurveyService.cs index 343715d62..aa7f788c0 100644 --- a/IRaCIS.Core.Application/Service/SiteSurvey/TrialSiteSurveyService.cs +++ b/IRaCIS.Core.Application/Service/SiteSurvey/TrialSiteSurveyService.cs @@ -162,6 +162,12 @@ namespace IRaCIS.Core.Application.Contracts var info=await _doctorRepository.AddAsync(doctor,true); + await _userRepository.BatchUpdateNoTrackingAsync(x => x.EMail == inDto.EmailOrPhone, x => new User() + { + DoctorId = info.DoctorId, + + }); + result.DoctorId = info.Id; result.ReviewStatus = info.ReviewStatus; }