修改
This commit is contained in:
@@ -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; }
|
||||
|
||||
@@ -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>();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user