This commit is contained in:
he
2022-08-10 16:19:12 +08:00
parent 682a3fd5db
commit ba72ce62ed
5 changed files with 89 additions and 1 deletions
@@ -544,6 +544,17 @@ namespace IRaCIS.Core.Application.Contracts
/// </summary>
public JudgeTypeEnum JudgeType { get; set; }
/// <summary>
/// 关联Value
/// </summary>
public string RelevanceValue { get; set; } = string.Empty;
public int? RelevanceShowOrder { get; set; }
public int? ParentQuestionShowOrder { get; set; }
}
public class TrialJudgeQuestion
@@ -234,7 +234,9 @@ namespace IRaCIS.Core.Application.Service
CreateMap<ReadingQuestionTrial, TrialReadQuestion>()
.ForMember(t => t.PageName, u => u.MapFrom(c => c.ReadingCriterionPage.PageName))
.ForMember(t => t.ParentQuestionName, u => u.MapFrom(c => c.ParentReadingQuestionTrial.QuestionName));
.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));