Test.EIImageViewer
he 2023-03-10 17:44:38 +08:00
parent 10b23cb394
commit b6892509a4
1 changed files with 1 additions and 1 deletions

View File

@ -593,7 +593,7 @@ namespace IRaCIS.Application.Services
item.Answer = answer.IsNullOrEmpty() ? item.DefaultValue : answer;
item.Childrens = questions.Where(x => x.ParentId == item.Id || x.GroupId==item.Id).ToList();
item.Childrens = questions.Where(x => x.ParentId == item.Id || (x.GroupId==item.Id&&x.ParentId==null)).ToList();
if (item.Childrens != null && item.Childrens.Count > 0)
{
foreach (var question in item.Childrens)