Uat_Study
he 2022-12-28 15:56:08 +08:00
parent d86988cb8f
commit 567d204a62
1 changed files with 2 additions and 0 deletions

View File

@ -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,