IRC_NewDev
parent
b89cfeb90c
commit
f1a6ca24be
|
@ -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>
|
||||
|
|
|
@ -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>();
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue