修改一版
parent
e72488e587
commit
28f6c8cb78
|
@ -65,8 +65,6 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
|||
|
||||
public string Answer { get; set; }
|
||||
|
||||
public Guid VisitTaskId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 类型值
|
||||
/// </summary>
|
||||
|
|
|
@ -78,6 +78,8 @@ namespace IRaCIS.Application.Services
|
|||
this._readingQuestionTrialRepository = readingQuestionTrialRepository;
|
||||
}
|
||||
|
||||
//public async Task<>
|
||||
|
||||
/// <summary>
|
||||
/// 保存全局阅片结果
|
||||
/// </summary>
|
||||
|
@ -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",
|
||||
|
||||
|
|
Loading…
Reference in New Issue