Compare commits

..

No commits in common. "d2530de925b25df0133462d50d114de5acd03755" and "8d1a6c8cecb2f30108ece1364a4a183163ec1dde" have entirely different histories.

2 changed files with 2 additions and 2 deletions

View File

@ -2415,8 +2415,6 @@ 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>

View File

@ -274,12 +274,14 @@ 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>();
}); });