IRC_NewDev
parent
b89cfeb90c
commit
f1a6ca24be
|
@ -2415,6 +2415,8 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public Guid Id { get; set; }
|
public Guid Id { get; set; }
|
||||||
|
|
||||||
|
public Guid ReadingQuestionId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 问题ID
|
/// 问题ID
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
|
@ -274,14 +274,12 @@ namespace IRaCIS.Core.Application.Service
|
||||||
x.Childrens = new List<GetSystemReadingQuestionOutDto>();
|
x.Childrens = new List<GetSystemReadingQuestionOutDto>();
|
||||||
x.GroupName = string.Empty;
|
x.GroupName = string.Empty;
|
||||||
x.ImageCount = 0;
|
x.ImageCount = 0;
|
||||||
x.ParentId = item.Id;
|
|
||||||
var relationQuestions= _mapper.Map<List<GetSystemReadingQuestionOutDto>>(tableQuestions.Where(z => (z.DependParentId ?? default(Guid)) == x.Id).ToList());
|
var relationQuestions= _mapper.Map<List<GetSystemReadingQuestionOutDto>>(tableQuestions.Where(z => (z.DependParentId ?? default(Guid)) == x.Id).ToList());
|
||||||
relationQuestions.ForEach(y =>
|
relationQuestions.ForEach(y =>
|
||||||
{
|
{
|
||||||
y.Childrens = new List<GetSystemReadingQuestionOutDto>();
|
y.Childrens = new List<GetSystemReadingQuestionOutDto>();
|
||||||
y.GroupName = string.Empty;
|
y.GroupName = string.Empty;
|
||||||
y.ImageCount = 0;
|
y.ImageCount = 0;
|
||||||
y.ParentId = item.Id;
|
|
||||||
y.LesionType = item.LesionType;
|
y.LesionType = item.LesionType;
|
||||||
y.RelationQuestions = new List<GetSystemReadingQuestionOutDto>();
|
y.RelationQuestions = new List<GetSystemReadingQuestionOutDto>();
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue