修改一版
parent
b5e3b22a3e
commit
2a91a9c7a9
|
@ -111,6 +111,9 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
|||
public string QuestionName { get; set; }
|
||||
|
||||
|
||||
public string PageName { get; set; }
|
||||
|
||||
|
||||
public string TypeValue { get; set; }
|
||||
|
||||
/// <summary>
|
||||
|
|
|
@ -267,19 +267,17 @@ namespace IRaCIS.Application.Services
|
|||
AnswerGroup = JsonConvert.DeserializeObject<List<string>>(x.AnswerGroup.IsNullOrEmpty()?"[]": x.AnswerGroup),
|
||||
AnswerCombination = JsonConvert.DeserializeObject<List<AnswerCombinationDto>>(x.AnswerCombination.IsNullOrEmpty() ? "[]" : x.AnswerCombination),
|
||||
QuestionName = x.QuestionName,
|
||||
PageName=x.ReadingCriterionPage.PageName,
|
||||
TypeValue =x.TypeValue,
|
||||
JudgeType=x.JudgeType,
|
||||
ReadingQuestionTrialId = x.Id
|
||||
}).ToListAsync();
|
||||
|
||||
|
||||
var signTime = await _trialRepository.Where(x => x.Id == inDto.TrialId).Select(x => x.ReadingInfoSignTime).FirstOrDefaultAsync();
|
||||
|
||||
return (result, new
|
||||
{
|
||||
|
||||
IsSign = signTime != null,
|
||||
|
||||
});
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue