修改
This commit is contained in:
@@ -526,6 +526,17 @@ namespace IRaCIS.Core.Application.Contracts
|
||||
/// </summary>
|
||||
public string ParentQuestionName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Parent字典code
|
||||
/// </summary>
|
||||
public string ParentDictionaryCode { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Parent问题类型
|
||||
/// </summary>
|
||||
public TableQuestionType? ParentQuestionGenre { get; set; }
|
||||
|
||||
|
||||
public int? RelevanceShowOrder { get; set; }
|
||||
|
||||
|
||||
|
||||
@@ -245,6 +245,8 @@ namespace IRaCIS.Core.Application.Service
|
||||
|
||||
CreateMap<ReadingQuestionTrial, TrialReadQuestion>()
|
||||
.ForMember(t => t.PageName, u => u.MapFrom(c => c.ReadingCriterionPage.PageName))
|
||||
.ForMember(d => d.ParentQuestionGenre, u => u.MapFrom(s => s.ParentReadingQuestionTrial.QuestionGenre))
|
||||
.ForMember(d => d.ParentDictionaryCode, u => u.MapFrom(s => s.ParentReadingQuestionTrial.DictionaryCode))
|
||||
.ForMember(t => t.ParentQuestionName, u => u.MapFrom(c => c.ParentReadingQuestionTrial.QuestionName))
|
||||
.ForMember(t => t.RelevanceShowOrder, u => u.MapFrom(c => c.RelevanceReadingQuestionTrial.ShowOrder))
|
||||
.ForMember(t => t.ParentQuestionShowOrder, u => u.MapFrom(c => c.ParentReadingQuestionTrial.ShowOrder));
|
||||
|
||||
Reference in New Issue
Block a user