Uat_Study
parent
cc6f42264e
commit
6607b916bb
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue