Uat_Study
parent
f1021fae64
commit
e31b69f304
|
@ -175,7 +175,7 @@ namespace IRaCIS.Application.Services
|
||||||
ArmEnum = item.ArmEnum,
|
ArmEnum = item.ArmEnum,
|
||||||
VisitTaskId = item.VisitTaskId,
|
VisitTaskId = item.VisitTaskId,
|
||||||
GlobalVisitTaskId = taskList[0].Id,
|
GlobalVisitTaskId = taskList[0].Id,
|
||||||
JudgeQuestionList = item.AfterQuestionList.Where(x => x.QuestionId != null).Select(x => new JudgeQuestion()
|
JudgeQuestionList = item.AfterQuestionList.Where(x => x.GlobalAnswerType== GlobalAnswerType.Question).Select(x => new JudgeQuestion()
|
||||||
{
|
{
|
||||||
|
|
||||||
Answer = x.Answer,
|
Answer = x.Answer,
|
||||||
|
@ -198,7 +198,7 @@ namespace IRaCIS.Application.Services
|
||||||
|
|
||||||
judgeReadingQuestion.JudgeQuestionList.Add(new JudgeQuestion()
|
judgeReadingQuestion.JudgeQuestionList.Add(new JudgeQuestion()
|
||||||
{
|
{
|
||||||
Answer = item.AfterQuestionList.Where(x => x.QuestionId == null).Select(x => x.Answer).FirstOrDefault(),
|
Answer = item.AfterQuestionList.Where(x => x.GlobalAnswerType == GlobalAnswerType.Question).Select(x => x.Answer).FirstOrDefault(),
|
||||||
QuestionType = JudgeReadingQuestionType.VisitRemark,
|
QuestionType = JudgeReadingQuestionType.VisitRemark,
|
||||||
|
|
||||||
});
|
});
|
||||||
|
@ -211,7 +211,7 @@ namespace IRaCIS.Application.Services
|
||||||
ArmEnum = twoItem.ArmEnum,
|
ArmEnum = twoItem.ArmEnum,
|
||||||
VisitTaskId = twoItem.VisitTaskId,
|
VisitTaskId = twoItem.VisitTaskId,
|
||||||
GlobalVisitTaskId = taskList[1].Id,
|
GlobalVisitTaskId = taskList[1].Id,
|
||||||
JudgeQuestionList = twoItem.AfterQuestionList.Where(x => x.QuestionId != null).Select(x => new JudgeQuestion()
|
JudgeQuestionList = twoItem.AfterQuestionList.Where(x => x.GlobalAnswerType == GlobalAnswerType.Question).Select(x => new JudgeQuestion()
|
||||||
{
|
{
|
||||||
|
|
||||||
Answer = x.Answer,
|
Answer = x.Answer,
|
||||||
|
@ -232,7 +232,7 @@ namespace IRaCIS.Application.Services
|
||||||
|
|
||||||
rTwoJudge.JudgeQuestionList.Add(new JudgeQuestion()
|
rTwoJudge.JudgeQuestionList.Add(new JudgeQuestion()
|
||||||
{
|
{
|
||||||
Answer = twoItem.AfterQuestionList.Where(x => x.QuestionId == null).Select(x => x.Answer).FirstOrDefault(),
|
Answer = twoItem.AfterQuestionList.Where(x => x.GlobalAnswerType == GlobalAnswerType.Question).Select(x => x.Answer).FirstOrDefault(),
|
||||||
QuestionType = JudgeReadingQuestionType.VisitRemark,
|
QuestionType = JudgeReadingQuestionType.VisitRemark,
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue