Merge branch 'Test_IRC_Net8' of http://192.168.3.68:2000/XCKJ/irc-netcore-api into Test_IRC_Net8
continuous-integration/drone/push Build is passing Details

IRC_NewDev
hang 2024-11-07 11:03:56 +08:00
commit 1648cbef7b
1 changed files with 0 additions and 2 deletions

View File

@ -274,14 +274,12 @@ namespace IRaCIS.Core.Application.Service
x.Childrens = new List<GetSystemReadingQuestionOutDto>();
x.GroupName = string.Empty;
x.ImageCount = 0;
x.ParentId = item.Id;
var relationQuestions= _mapper.Map<List<GetSystemReadingQuestionOutDto>>(tableQuestions.Where(z => (z.DependParentId ?? default(Guid)) == x.Id).ToList());
relationQuestions.ForEach(y =>
{
y.Childrens = new List<GetSystemReadingQuestionOutDto>();
y.GroupName = string.Empty;
y.ImageCount = 0;
y.ParentId = item.Id;
y.LesionType = item.LesionType;
y.RelationQuestions = new List<GetSystemReadingQuestionOutDto>();
});