修改一版
parent
20503206e5
commit
5033b39427
|
@ -132,6 +132,9 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
|||
|
||||
public List<JudgeReadingInfoDto> VisitTaskInfoList { get; set; }
|
||||
|
||||
|
||||
|
||||
|
||||
public ReadingTaskState ReadingTaskState { get; set; }
|
||||
|
||||
/// <summary>
|
||||
|
|
|
@ -393,6 +393,10 @@ namespace IRaCIS.Application.Services
|
|||
judgeInfo.VisitTaskInfoList.Add(
|
||||
new JudgeReadingInfoDto()
|
||||
{
|
||||
JudgeQuestionAnswerInfoList = await _readingTaskQuestionAnswerRepository.Where(x => x.VisitTaskId == item.Id).Select(x => new JudgeQuestionAnswerInfo {
|
||||
Answer = x.Answer,
|
||||
QuestionName = x.ReadingQuestionTrial.QuestionName,
|
||||
}).ToListAsync(),
|
||||
VisitTaskId = item.Id,
|
||||
ArmEnum = item.ArmEnum,
|
||||
TaskReadingQuestionList = taskReadingQuestionList,
|
||||
|
|
Loading…
Reference in New Issue