This commit is contained in:
he
2022-09-30 11:00:47 +08:00
parent 79af3792a7
commit ab9bb015cd
3 changed files with 51 additions and 4 deletions
@@ -681,13 +681,28 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
public string Answer { get; set; }
/// <summary>
/// 问题类型
/// </summary>
public QuestionType? QuestionType { get; set; }
/// <summary>
/// 答案分组
/// 字典code
/// </summary>
public string AnswerGroup { get; set; } = string.Empty;
public string DictionaryCode { get; set; } = string.Empty;
/// <summary>
/// 问题类型
/// </summary>
public TableQuestionType? QuestionGenre { get; set; }
/// <summary>
/// 答案分组
/// </summary>
public string AnswerGroup { get; set; } = string.Empty;
/// <summary>
/// 答案组合
@@ -1120,6 +1120,10 @@ namespace IRaCIS.Application.Services
QuestionId = y.ReadingQuestionTrialId,
QuestionName = y.ReadingQuestionTrial.QuestionName,
AnswerGroup = y.ReadingQuestionTrial.AnswerGroup,
QuestionType=y.ReadingQuestionTrial.QuestionType,
QuestionGenre=y.ReadingQuestionTrial.QuestionGenre,
DictionaryCode=y.ReadingQuestionTrial.DictionaryCode,
AnswerCombination = y.ReadingQuestionTrial.AnswerCombination,
JudgeType = y.ReadingQuestionTrial.JudgeType,
@@ -1150,6 +1154,9 @@ namespace IRaCIS.Application.Services
IsHaveChange = lr.global == null ? false : lr.global.Any(),
QuestionId = lr.question.QuestionId,
QuestionName = lr.question.QuestionName,
QuestionType = lr.question.QuestionType,
QuestionGenre = lr.question.QuestionGenre,
DictionaryCode = lr.question.DictionaryCode,
Type = lr.question.Type,
GlobalAnswerType=GlobalAnswerType.Question,
AnswerGroup = lr.question.AnswerGroup,