修改一版

This commit is contained in:
he
2022-08-25 13:11:30 +08:00
parent 6203441c24
commit 4cdd3c5206
3 changed files with 8 additions and 1 deletions
@@ -51,6 +51,8 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
public string DataTableName { get; set; }
public string DataTableColumn { get; set; }
public int? DependShowOrder { get; set; }
/// <summary>
/// 表格问题类型
/// </summary>
@@ -51,7 +51,8 @@ namespace IRaCIS.Core.Application.Service
#region
CreateMap<ReadingTableQuestionSystem, ReadingTableQuestionSystemView>();
CreateMap<ReadingTableQuestionSystem, ReadingTableQuestionSystemView>()
.ForMember(d => d.DependShowOrder, u => u.MapFrom(s => s.DependParentQuestion.ShowOrder));
CreateMap<ReadingTableQuestionTrial, ReadingTableQuestionTrialView>();