From 4462715d30e723fdcc53462fa11dc9d0f62645a6 Mon Sep 17 00:00:00 2001 From: hang <872297557@qq.com> Date: Thu, 9 Jun 2022 09:49:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=80=E8=87=B4=E6=80=A7=E6=A0=B8=E6=9F=A5?= =?UTF-8?q?=E6=A0=BC=E5=BC=8F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Handlers/ConsistencyVerificationHandler.cs | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/IRaCIS.Core.Application/_MediatR/Handlers/ConsistencyVerificationHandler.cs b/IRaCIS.Core.Application/_MediatR/Handlers/ConsistencyVerificationHandler.cs index f60d50e79..95b903a94 100644 --- a/IRaCIS.Core.Application/_MediatR/Handlers/ConsistencyVerificationHandler.cs +++ b/IRaCIS.Core.Application/_MediatR/Handlers/ConsistencyVerificationHandler.cs @@ -102,27 +102,28 @@ namespace IRaCIS.Core.Application.MediatR.Handlers StringBuilder dialogMsg = new StringBuilder(); - dialogMsg.Append("你好根据本系统自动像识别,该受者本访视已提交的像检查情况如下:"); + dialogMsg.Append("您好,根据本系统自动识别,该受试者当前访视已提交的影像检查情况如下:"); var num = 0; foreach (var item in sv.StudyList) { num++; - dialogMsg.AppendLine($"
{num}.{item.StudyDate}  {item.Modality}"); + dialogMsg.AppendLine($"
{num}.{item.StudyDate}的{item.Modality}影像检查"); } - var dbSV = await _subjectVisitRepository.FirstOrDefaultAsync(t => t.Id == sv.SubjectVisitId).IfNullThrowException(); + var dbSV = (await _subjectVisitRepository.FirstOrDefaultAsync(t => t.Id == sv.SubjectVisitId)).IfNullThrowException(); if (etcVisitStudyList.Count == 0) { - - dialogMsg.AppendLine($"
存在问题如下:"); + dialogMsg.AppendLine($"
"); + dialogMsg.AppendLine($"
存在问题如下:"); num = 0; foreach (var item in sv.StudyList) { num++; - dialogMsg.AppendLine($"
{num}.{item.StudyDate}  {item.Modality} 在导入模板中不存在!"); + dialogMsg.AppendLine($"
{num}.{item.StudyDate}  {item.Modality} 在导入模板中不存在"); } + dialogMsg.AppendLine($"
"); dialogMsg.AppendLine(@$"
说明:为高效解决/处理以上全部质疑问题,麻烦您准确核实实际影像检查情况。请注意影像日期与实际检查的日期可能会不一致,部分检查(如PET -CT)可能同时存在多种模态影像。准确核实后,请回复该访视正确的影像检查情况。"); dbSV.CheckResult = "当前访视在EDC表中未找到数据,请核对 SubjectCode、 SiteCode 、VisitName 是否和ETC系统保持一致"; @@ -167,13 +168,13 @@ namespace IRaCIS.Core.Application.MediatR.Handlers foreach (var item in dbExceptExcel) { num++; - dialogMsg.AppendLine($"
{num}.EDC 缺少{item.StudyDate}  {item.Modality} !"); + dialogMsg.AppendLine($"
{num}.EDC 缺少{item.StudyDate}的{item.Modality}影像检查 "); } foreach (var item in excelExceptDB) { num++; - dialogMsg.AppendLine($"
{num}.IRC 缺少{item.StudyDate}  {item.Modality} !"); + dialogMsg.AppendLine($"
{num}.IRC 缺少{item.StudyDate}的;{item.Modality}影像检查 "); }