From 567d204a62ed73a5697a37a4010ddb8f6c8e0433 Mon Sep 17 00:00:00 2001 From: he <10978375@qq.com> Date: Wed, 28 Dec 2022 15:56:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Service/Reading/MedicalAudit/ReadingMedicalReviewService.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/IRaCIS.Core.Application/Service/Reading/MedicalAudit/ReadingMedicalReviewService.cs b/IRaCIS.Core.Application/Service/Reading/MedicalAudit/ReadingMedicalReviewService.cs index e2e414ff3..ab0fd6cba 100644 --- a/IRaCIS.Core.Application/Service/Reading/MedicalAudit/ReadingMedicalReviewService.cs +++ b/IRaCIS.Core.Application/Service/Reading/MedicalAudit/ReadingMedicalReviewService.cs @@ -523,10 +523,12 @@ namespace IRaCIS.Core.Application.Service DialogCloseReason=inDto.DialogCloseReason, }); + var taskMedical = await _taskMedicalReviewRepository.Where(x => x.Id == inDto.TaskMedicalReviewId).FirstNotNullAsync(); ReadingMedicalReviewDialog dialog = new ReadingMedicalReviewDialog() { TaskMedicalReviewId = inDto.TaskMedicalReviewId, + VisitTaskId= taskMedical.VisitTaskId, UserTypeShortName = _userInfo.UserTypeShortName, Content = inDto.MedicalDialogCloseEnum.GetDescription()+ (inDto.DialogCloseReason.IsNullOrEmpty()? inDto.DialogCloseReason:","+ inDto.DialogCloseReason), UserTypeEnumInt = _userInfo.UserTypeEnumInt,