修改
This commit is contained in:
@@ -80,7 +80,7 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
||||
|
||||
public string TypeValue { get; set; }
|
||||
|
||||
public string AnswerGroup { get; set; }
|
||||
public List<string> AnswerGroup { get; set; }
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -170,7 +170,7 @@ namespace IRaCIS.Application.Services
|
||||
var result = await _readingQuestionTrialRepository.Where(x => x.ReadingQuestionCriterionTrialId == inDto.ReadingQuestionCriterionTrialId && x.IsJudgeQuestion)
|
||||
.Select(x => new GetTrialCriterionJudgeQuestionListOutDto()
|
||||
{
|
||||
AnswerGroup = x.AnswerGroup,
|
||||
AnswerGroup = JsonConvert.DeserializeObject<List<string>>(x.AnswerGroup.IsNullOrEmpty()?"[]": x.AnswerGroup),
|
||||
QuestionName = x.QuestionName,
|
||||
TypeValue =x.TypeValue,
|
||||
ReadingQuestionTrialId = x.Id
|
||||
|
||||
Reference in New Issue
Block a user