This commit is contained in:
he
2023-03-10 16:00:33 +08:00
parent 45c6936726
commit 34cd92cd6f
@@ -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.GroupId).ToList();
item.Childrens = questions.Where(x => x.ParentId == item.Id || x.GroupId==item.Id).ToList();
if (item.Childrens != null && item.Childrens.Count > 0)
{
foreach (var question in item.Childrens)