修改一版

Uat_Study
he 2022-10-19 16:08:39 +08:00
parent 05e95519e9
commit 7bb8328332
2 changed files with 20 additions and 3 deletions

View File

@ -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;

View File

@ -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()
};