IRC_NewDev
he 2024-11-07 10:45:32 +08:00
parent b89cfeb90c
commit f1a6ca24be
2 changed files with 2 additions and 2 deletions

View File

@ -2415,6 +2415,8 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
/// </summary>
public Guid Id { get; set; }
public Guid ReadingQuestionId { get; set; }
/// <summary>
/// 问题ID
/// </summary>

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>();
});