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