Uat_Study
parent
932cb89a44
commit
dcbb9fa391
|
@ -738,11 +738,22 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
|||
/// </summary>
|
||||
public TableQuestionType? QuestionGenre { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Parent问题类型
|
||||
/// </summary>
|
||||
public TableQuestionType? ParentQuestionGenre { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 字典code
|
||||
/// </summary>
|
||||
public string DictionaryCode { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Parent字典code
|
||||
/// </summary>
|
||||
public string ParentDictionaryCode { get; set; } = string.Empty;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 系统标准Id
|
||||
|
@ -941,6 +952,11 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
|||
/// </summary>
|
||||
public TableQuestionType? QuestionGenre { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Parent问题类型
|
||||
/// </summary>
|
||||
public TableQuestionType? ParentQuestionGenre { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 全局阅片显示类型
|
||||
|
@ -959,6 +975,12 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
|||
public string DictionaryCode { get; set; } = string.Empty;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Parent字典code
|
||||
/// </summary>
|
||||
public string ParentDictionaryCode { get; set; } = string.Empty;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 关联ID
|
||||
/// </summary>
|
||||
|
|
|
@ -171,6 +171,8 @@ namespace IRaCIS.Core.Application.Service
|
|||
CreateMap<ReadingQuestionSystem, ReadingQuestionSystemView>()
|
||||
.ForMember(d => d.ParentQuestionName, u => u.MapFrom(s => s.ParentReadingQuestionSystem==null?string.Empty: s.ParentReadingQuestionSystem.QuestionName))
|
||||
.ForMember(d => d.ParentQuestionShowOrder, u => u.MapFrom(s => s.ParentReadingQuestionSystem.ShowOrder))
|
||||
.ForMember(d => d.ParentDictionaryCode, u => u.MapFrom(s => s.ParentReadingQuestionSystem.DictionaryCode))
|
||||
.ForMember(d => d.ParentQuestionGenre, u => u.MapFrom(s => s.ParentReadingQuestionSystem.QuestionGenre))
|
||||
.ForMember(d => d.RelevanceShowOrder, u => u.MapFrom(s => s.RelevanceReadingQuestionSystem.ShowOrder));
|
||||
|
||||
|
||||
|
@ -183,6 +185,8 @@ namespace IRaCIS.Core.Application.Service
|
|||
CreateMap<ReadingQuestionTrial, ReadingQuestionTrialView>()
|
||||
.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.ParentQuestionGenre, u => u.MapFrom(s => s.ParentReadingQuestionTrial.QuestionGenre))
|
||||
.ForMember(d => d.ParentDictionaryCode, u => u.MapFrom(s => s.ParentReadingQuestionTrial.DictionaryCode))
|
||||
.ForMember(d => d.RelevanceShowOrder, u => u.MapFrom(s => s.RelevanceReadingQuestionTrial.ShowOrder));
|
||||
#endregion
|
||||
|
||||
|
|
|
@ -526,6 +526,17 @@ namespace IRaCIS.Core.Application.Contracts
|
|||
/// </summary>
|
||||
public string ParentQuestionName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Parent字典code
|
||||
/// </summary>
|
||||
public string ParentDictionaryCode { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Parent问题类型
|
||||
/// </summary>
|
||||
public TableQuestionType? ParentQuestionGenre { get; set; }
|
||||
|
||||
|
||||
public int? RelevanceShowOrder { get; set; }
|
||||
|
||||
|
||||
|
|
|
@ -245,6 +245,8 @@ namespace IRaCIS.Core.Application.Service
|
|||
|
||||
CreateMap<ReadingQuestionTrial, TrialReadQuestion>()
|
||||
.ForMember(t => t.PageName, u => u.MapFrom(c => c.ReadingCriterionPage.PageName))
|
||||
.ForMember(d => d.ParentQuestionGenre, u => u.MapFrom(s => s.ParentReadingQuestionTrial.QuestionGenre))
|
||||
.ForMember(d => d.ParentDictionaryCode, u => u.MapFrom(s => s.ParentReadingQuestionTrial.DictionaryCode))
|
||||
.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));
|
||||
|
|
Loading…
Reference in New Issue