Uat_Study
parent
6a1052a1fe
commit
f6d65b5abe
|
@ -1010,7 +1010,7 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
|||
/// </summary>
|
||||
public QuestionMark? QuestionMark { get; set; }
|
||||
|
||||
public List<Guid> RelationIds { get; set; }
|
||||
public List<GetSystemReadingQuestionOutDto> RelationQuestions { get; set; }
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -1064,7 +1064,29 @@ namespace IRaCIS.Application.Services
|
|||
DataTableColumn = x.DataTableColumn,
|
||||
LesionType = item.LesionType,
|
||||
QuestionName = x.QuestionName,
|
||||
RelationIds = tableQuestions.Where(z => (z.DependParentId ?? default(Guid)) == x.Id).Select(z => z.Id).ToList(),
|
||||
RelationQuestions = tableQuestions.Where(z => (z.DependParentId ?? default(Guid)) == x.Id).Select(x => new GetSystemReadingQuestionOutDto
|
||||
{
|
||||
Childrens = new List<GetSystemReadingQuestionOutDto>(),
|
||||
ShowOrder = x.ShowOrder,
|
||||
GroupName = string.Empty,
|
||||
Id = x.Id,
|
||||
Type = x.Type,
|
||||
TableQuestionType = x.TableQuestionType,
|
||||
DependParentId = x.DependParentId,
|
||||
IsDepend = x.IsDepend,
|
||||
QuestionMark = x.QuestionMark,
|
||||
TypeValue = x.TypeValue,
|
||||
RelevanceId = x.RelevanceId,
|
||||
RelevanceValue = x.RelevanceValue,
|
||||
ImageCount = 0,
|
||||
ParentId = item.Id,
|
||||
DataTableColumn = x.DataTableColumn,
|
||||
LesionType = item.LesionType,
|
||||
QuestionName = x.QuestionName,
|
||||
RelationQuestions = new List<GetSystemReadingQuestionOutDto>(),
|
||||
Remark = x.Remark,
|
||||
|
||||
}).ToList(),
|
||||
Remark = x.Remark,
|
||||
|
||||
}));
|
||||
|
|
Loading…
Reference in New Issue