Uat_Study
parent
438474406a
commit
6f1a92076e
|
@ -279,6 +279,7 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public string RelevanceValue { get; set; } = string.Empty;
|
public string RelevanceValue { get; set; } = string.Empty;
|
||||||
|
|
||||||
|
public int? RelevanceShowOrder { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 图片数量
|
/// 图片数量
|
||||||
|
|
|
@ -75,7 +75,8 @@ namespace IRaCIS.Core.Application.Service
|
||||||
CreateMap<AddOrUpdateReadingQuestionTrialInDto, ReadingQuestionTrial>();
|
CreateMap<AddOrUpdateReadingQuestionTrialInDto, ReadingQuestionTrial>();
|
||||||
CreateMap<ReadingQuestionTrial, ReadingQuestionTrialView>()
|
CreateMap<ReadingQuestionTrial, ReadingQuestionTrialView>()
|
||||||
.ForMember(d => d.ParentQuestionName, u => u.MapFrom(s => s.ParentReadingQuestionTrial == null ? string.Empty : s.ParentReadingQuestionTrial.QuestionName))
|
.ForMember(d => d.ParentQuestionName, u => u.MapFrom(s => s.ParentReadingQuestionTrial == null ? string.Empty : s.ParentReadingQuestionTrial.QuestionName))
|
||||||
.ForMember(d => d.ParentQuestionShowOrder, u => u.MapFrom(s => s.ParentReadingQuestionTrial.ShowOrder));
|
.ForMember(d => d.ParentQuestionShowOrder, u => u.MapFrom(s => s.ParentReadingQuestionTrial.ShowOrder))
|
||||||
|
.ForMember(d => d.RelevanceShowOrder, u => u.MapFrom(s => s.RelevanceReadingQuestionTrial.ShowOrder));
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region IR阅片
|
#region IR阅片
|
||||||
|
|
|
@ -141,6 +141,9 @@ namespace IRaCIS.Core.Domain.Models
|
||||||
[ForeignKey("ParentId")]
|
[ForeignKey("ParentId")]
|
||||||
public ReadingQuestionTrial ParentReadingQuestionTrial { get; set; }
|
public ReadingQuestionTrial ParentReadingQuestionTrial { get; set; }
|
||||||
|
|
||||||
|
[ForeignKey("RelevanceId")]
|
||||||
|
public ReadingQuestionTrial RelevanceReadingQuestionTrial { get; set; }
|
||||||
|
|
||||||
[ForeignKey("ReadingQuestionCriterionTrialId")]
|
[ForeignKey("ReadingQuestionCriterionTrialId")]
|
||||||
public ReadingQuestionCriterionTrial ReadingQuestionCriterionTrial { get; set; }
|
public ReadingQuestionCriterionTrial ReadingQuestionCriterionTrial { get; set; }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue