From 28f6c8cb78113ccf39082d43bb25aaab9fb59ca7 Mon Sep 17 00:00:00 2001
From: he <10978375@qq.com>
Date: Tue, 19 Jul 2022 16:53:16 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=80=E7=89=88?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../Service/Reading/Dto/ReadingImageTaskViewModel.cs | 2 --
.../Service/Reading/ReadingImageTaskService.cs | 7 +++----
2 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/IRaCIS.Core.Application/Service/Reading/Dto/ReadingImageTaskViewModel.cs b/IRaCIS.Core.Application/Service/Reading/Dto/ReadingImageTaskViewModel.cs
index 44c889e99..cdc0128af 100644
--- a/IRaCIS.Core.Application/Service/Reading/Dto/ReadingImageTaskViewModel.cs
+++ b/IRaCIS.Core.Application/Service/Reading/Dto/ReadingImageTaskViewModel.cs
@@ -65,8 +65,6 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
public string Answer { get; set; }
- public Guid VisitTaskId { get; set; }
-
///
/// 类型值
///
diff --git a/IRaCIS.Core.Application/Service/Reading/ReadingImageTaskService.cs b/IRaCIS.Core.Application/Service/Reading/ReadingImageTaskService.cs
index 6f8af3304..ff089a811 100644
--- a/IRaCIS.Core.Application/Service/Reading/ReadingImageTaskService.cs
+++ b/IRaCIS.Core.Application/Service/Reading/ReadingImageTaskService.cs
@@ -78,6 +78,8 @@ namespace IRaCIS.Application.Services
this._readingQuestionTrialRepository = readingQuestionTrialRepository;
}
+ //public async Task<>
+
///
/// 保存全局阅片结果
///
@@ -133,7 +135,6 @@ namespace IRaCIS.Application.Services
QuestionId = y.ReadingQuestionTrialId,
QuestionName = y.ReadingQuestionTrial.QuestionName,
Type=y.ReadingQuestionTrial.Type,
- VisitTaskId=x.Id,
TypeValue=y.ReadingQuestionTrial.TypeValue,
Answer = y.Answer
}).ToList()
@@ -155,15 +156,13 @@ namespace IRaCIS.Application.Services
QuestionId =lr.question.QuestionId,
QuestionName=lr.question.QuestionName,
Type = lr.question.Type,
- VisitTaskId=x.VisitTaskId,
TypeValue = lr.question.TypeValue,
}).ToList();
-
var reason = new GlobalQuestionInfo()
{
- Answer = globalReadingQuestion.Where(y => y.TaskId == x.VisitId && y.QuestionId == null).Select(x => x.Answer).FirstOrDefault() ?? String.Empty,
+ Answer = globalReadingQuestion.Where(y => y.TaskId == x.VisitTaskId && y.QuestionId == null).Select(x => x.Answer).FirstOrDefault()??String.Empty,
QuestionName="原因",
Type="input",