Compare commits
2 Commits
1715d4d056
...
c4a0e47a84
Author | SHA1 | Date |
---|---|---|
|
c4a0e47a84 | |
|
f9661e3b72 |
|
@ -934,13 +934,16 @@ namespace IRaCIS.Application.Services
|
|||
result.TaskNum = visitTaskInfo.VisitTaskNum;
|
||||
result.QuestionMarkInfoList=await _readingTaskQuestionMarkRepository.Where(x => x.VisitTaskId == inDto.VisitTaskId).ProjectTo<QuestionMarkInfo>(_mapper.ConfigurationProvider)
|
||||
.ToListAsync();
|
||||
return (result, new
|
||||
var spleenLength = await _readingTaskQuestionAnswerRepository.Where(x => x.VisitTaskId == inDto.VisitTaskId && x.ReadingQuestionTrial.QuestionType == QuestionType.SpleenLength).Select(x => x.Answer).FirstOrDefaultAsync();
|
||||
|
||||
return (result, new
|
||||
{
|
||||
readingTaskState = visitTaskInfo.ReadingTaskState,
|
||||
FormType = criterionInfo.FormType,
|
||||
TaskNum = visitTaskInfo.VisitTaskNum,
|
||||
SpleenLength= spleenLength,
|
||||
|
||||
}); ;
|
||||
}); ;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
Loading…
Reference in New Issue