修改一版
parent
6203441c24
commit
4cdd3c5206
|
@ -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>();
|
||||
|
|
|
@ -132,6 +132,10 @@ namespace IRaCIS.Core.Domain.Models
|
|||
/// </summary>
|
||||
public QuestionMark? QuestionMark { get; set; }
|
||||
|
||||
|
||||
|
||||
[ForeignKey("DependParentId")]
|
||||
public ReadingTableQuestionSystem DependParentQuestion { get; set; }
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue