Test.EIImageViewer
he 2022-08-04 16:02:03 +08:00
parent b8108e34ba
commit 47f68140e9
2 changed files with 5 additions and 1 deletions

View File

@ -51,6 +51,9 @@ namespace IRaCIS.Core.Application.Contracts
public string TypeValue { get; set; } = String.Empty;
public int ShowOrder { get; set; }
public string ParentQuestionName { get; set; } = String.Empty;
public int? ParentShowOrder { get; set; }
public Guid CreateUserId { get; set; }
public DateTime CreateTime { get; set; }

View File

@ -66,7 +66,8 @@ namespace IRaCIS.Core.Application.Service
CreateMap<QCQuestion, QCQuestionConfigureView>()
.ForMember(d => d.ParentShowOrder, u => u.MapFrom(s => s.ParentQuestion.ShowOrder)); ;
.ForMember(d => d.ParentShowOrder, u => u.MapFrom(s => s.ParentQuestion.ShowOrder))
.ForMember(d => d.ParentQuestionName, u => u.MapFrom(s => s.ParentQuestion.QuestionName));
CreateMap<QCQuestion, QCQuestionAddOrEdit>();