diff --git a/IRaCIS.Core.Application/Service/Reading/ReadingImageTaskService.cs b/IRaCIS.Core.Application/Service/Reading/ReadingImageTaskService.cs index 8a1b17371..69b089c70 100644 --- a/IRaCIS.Core.Application/Service/Reading/ReadingImageTaskService.cs +++ b/IRaCIS.Core.Application/Service/Reading/ReadingImageTaskService.cs @@ -1044,16 +1044,17 @@ namespace IRaCIS.Application.Services public void FindSystemChildQuestion(GetSystemReadingQuestionOutDto item, List questionlists,List tableQuestions) { 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(), ShowOrder = x.ShowOrder, - GroupName = String.Empty, + GroupName = string.Empty, Id = x.Id, + Type=x.Type, + TypeValue=x.TypeValue, + RelevanceId=x.RelevanceId, + RelevanceValue=x.RelevanceValue, ImageCount = 0, ParentId = item.Id, QuestionName = x.QuestionName,