Uat_Study
he 2022-09-02 09:05:38 +08:00
parent dfeb569af9
commit 58f6245b51
1 changed files with 3 additions and 1 deletions

View File

@ -157,7 +157,9 @@ namespace IRaCIS.Application.Services
var answers = await _readingTaskQuestionAnswerRepository.Where(x => x.VisitTaskId == inDto.VisitTaskId).ToListAsync();
var result = questions.Where(x => x.Type == ReadingQestionType.Group).ToList();
var groups = questions.Where(x => x.Type != ReadingQestionType.Group).Select(x => x.GroupName).ToList();
var result = questions.Where(x => x.Type == ReadingQestionType.Group&&groups.Contains(x.GroupName)).ToList();
foreach (var item in result)
{