修改一版

Uat_Study
he 2022-10-12 17:58:22 +08:00
parent c52a9a6386
commit 5fbb03444e
1 changed files with 2 additions and 2 deletions

View File

@ -1186,7 +1186,7 @@ namespace IRaCIS.Application.Services
{ {
new GlobalQuestionInfo() new GlobalQuestionInfo()
{ {
Answer = globalReadingQuestion.Where(y => y.TaskId == x.VisitTaskId && y.GlobalAnswerType == GlobalAnswerType.AgreeOrNot).Select(x => x.Answer).FirstOrDefault() ?? String.Empty, Answer = globalReadingQuestion.Where(y => y.TaskId == x.VisitTaskId && y.GlobalAnswerType == GlobalAnswerType.AgreeOrNot).Select(x => x.Answer).FirstOrDefault() ?? "是",
QuestionName = "是否同意访视整体评估", QuestionName = "是否同意访视整体评估",
Type = "input", Type = "input",
GlobalAnswerType=GlobalAnswerType.AgreeOrNot, GlobalAnswerType=GlobalAnswerType.AgreeOrNot,
@ -1208,7 +1208,7 @@ namespace IRaCIS.Application.Services
{ {
x.AfterQuestionList.Add(new GlobalQuestionInfo() x.AfterQuestionList.Add(new GlobalQuestionInfo()
{ {
Answer = globalReadingQuestion.Where(y => y.TaskId == x.VisitTaskId && y.GlobalAnswerType == item.GlobalAnswerType).Select(x => x.Answer).FirstOrDefault() ?? String.Empty, Answer = globalReadingQuestion.Where(y => y.TaskId == x.VisitTaskId && y.GlobalAnswerType == item.GlobalAnswerType).Select(x => x.Answer).FirstOrDefault() ?? string.Empty,
QuestionName = item.QuestionName, QuestionName = item.QuestionName,
Type = "input", Type = "input",
GlobalAnswerType=item.GlobalAnswerType, GlobalAnswerType=item.GlobalAnswerType,