修改一版
parent
05e95519e9
commit
7bb8328332
|
@ -1046,6 +1046,17 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
|||
|
||||
public string QuestionName { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 问题类型
|
||||
/// </summary>
|
||||
public TableQuestionType? QuestionGenre { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 字典code
|
||||
/// </summary>
|
||||
public string DictionaryCode { get; set; } = string.Empty;
|
||||
|
||||
public dynamic Answer { get; set; }
|
||||
|
||||
public JudgeReadingQuestionType QuestionType { get; set; } = JudgeReadingQuestionType.Question;
|
||||
|
|
|
@ -135,7 +135,9 @@ namespace IRaCIS.Application.Services
|
|||
{
|
||||
Answer = x.Answer,
|
||||
QuestionId = x.ReadingQuestionTrial.Id,
|
||||
QuestionName = x.ReadingQuestionTrial.QuestionName
|
||||
QuestionName = x.ReadingQuestionTrial.QuestionName,
|
||||
QuestionGenre=x.ReadingQuestionTrial.QuestionGenre,
|
||||
DictionaryCode=x.ReadingQuestionTrial.DictionaryCode,
|
||||
|
||||
}).ToListAsync(),
|
||||
});
|
||||
|
@ -178,7 +180,9 @@ namespace IRaCIS.Application.Services
|
|||
|
||||
Answer = x.Answer,
|
||||
QuestionId = x.QuestionId.Value,
|
||||
QuestionName = x.QuestionName
|
||||
QuestionName = x.QuestionName,
|
||||
QuestionGenre=x.QuestionGenre,
|
||||
DictionaryCode=x.DictionaryCode,
|
||||
}).ToList()
|
||||
};
|
||||
|
||||
|
@ -212,7 +216,9 @@ namespace IRaCIS.Application.Services
|
|||
|
||||
Answer = x.Answer,
|
||||
QuestionId = x.QuestionId.Value,
|
||||
QuestionName = x.QuestionName
|
||||
QuestionName = x.QuestionName,
|
||||
QuestionGenre = x.QuestionGenre,
|
||||
DictionaryCode = x.DictionaryCode,
|
||||
}).ToList()
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue