This commit is contained in:
he
2022-08-26 13:37:47 +08:00
parent c8fa42b304
commit 2ab99c34d3
2 changed files with 26 additions and 5 deletions
@@ -1045,6 +1045,7 @@ namespace IRaCIS.Application.Services
{
item.Childrens = questionlists.Where(x => x.ParentId == item.Id || (item.Type == "group" && x.Type != "group" && x.ParentId == null && x.GroupName == item.GroupName)).ToList();
item.Childrens.AddRange(tableQuestions.Where(x => x.ReadingQuestionId == item.Id).Select(x => new GetSystemReadingQuestionOutDto
{
Childrens = new List<GetSystemReadingQuestionOutDto>(),