修改一版

Uat_Study
he 2022-07-19 16:53:16 +08:00
parent e72488e587
commit 28f6c8cb78
2 changed files with 3 additions and 6 deletions

View File

@ -65,8 +65,6 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
public string Answer { get; set; } public string Answer { get; set; }
public Guid VisitTaskId { get; set; }
/// <summary> /// <summary>
/// 类型值 /// 类型值
/// </summary> /// </summary>

View File

@ -78,6 +78,8 @@ namespace IRaCIS.Application.Services
this._readingQuestionTrialRepository = readingQuestionTrialRepository; this._readingQuestionTrialRepository = readingQuestionTrialRepository;
} }
//public async Task<>
/// <summary> /// <summary>
/// 保存全局阅片结果 /// 保存全局阅片结果
/// </summary> /// </summary>
@ -133,7 +135,6 @@ namespace IRaCIS.Application.Services
QuestionId = y.ReadingQuestionTrialId, QuestionId = y.ReadingQuestionTrialId,
QuestionName = y.ReadingQuestionTrial.QuestionName, QuestionName = y.ReadingQuestionTrial.QuestionName,
Type=y.ReadingQuestionTrial.Type, Type=y.ReadingQuestionTrial.Type,
VisitTaskId=x.Id,
TypeValue=y.ReadingQuestionTrial.TypeValue, TypeValue=y.ReadingQuestionTrial.TypeValue,
Answer = y.Answer Answer = y.Answer
}).ToList() }).ToList()
@ -155,15 +156,13 @@ namespace IRaCIS.Application.Services
QuestionId =lr.question.QuestionId, QuestionId =lr.question.QuestionId,
QuestionName=lr.question.QuestionName, QuestionName=lr.question.QuestionName,
Type = lr.question.Type, Type = lr.question.Type,
VisitTaskId=x.VisitTaskId,
TypeValue = lr.question.TypeValue, TypeValue = lr.question.TypeValue,
}).ToList(); }).ToList();
var reason = new GlobalQuestionInfo() 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="原因", QuestionName="原因",
Type="input", Type="input",