修改一版
parent
c52a9a6386
commit
5fbb03444e
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue