修改一版

Uat_Study
he 2022-08-25 13:11:30 +08:00
parent 6203441c24
commit 4cdd3c5206
3 changed files with 8 additions and 1 deletions

View File

@ -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>

View File

@ -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>();

View File

@ -132,6 +132,10 @@ namespace IRaCIS.Core.Domain.Models
/// </summary>
public QuestionMark? QuestionMark { get; set; }
[ForeignKey("DependParentId")]
public ReadingTableQuestionSystem DependParentQuestion { get; set; }
}