Uat_Study
parent
310c526c8e
commit
6cffb32af4
|
@ -4126,10 +4126,25 @@
|
|||
</summary>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:IRaCIS.Application.Services.ReadingQuestionService.SetChildParentQuestion(System.Guid,System.Collections.Generic.List{IRaCIS.Core.Domain.Models.ReadingQuestionSystem},System.Collections.Generic.List{IRaCIS.Core.Domain.Models.ReadingQuestionTrial})">
|
||||
<member name="M:IRaCIS.Application.Services.ReadingQuestionService.SetChildParentQuestion(System.Guid,System.Guid,System.Collections.Generic.List{IRaCIS.Core.Domain.Models.ReadingQuestionSystem},System.Collections.Generic.List{IRaCIS.Core.Domain.Models.ReadingQuestionTrial})">
|
||||
<summary>
|
||||
递归处理父子问题关系
|
||||
设置父子关系
|
||||
</summary>
|
||||
<param name="ReadingQuestionCriterionTrialId">项目标准ID</param>
|
||||
<param name="trialId">项目Id</param>
|
||||
<param name="systemQuesitonList">系统问题</param>
|
||||
<param name="needQuestionList">需要添加list</param>
|
||||
</member>
|
||||
<member name="M:IRaCIS.Application.Services.ReadingQuestionService.CreateQuestionRelation(System.Guid,System.Guid,System.Guid,System.Guid,System.Collections.Generic.List{IRaCIS.Core.Domain.Models.ReadingQuestionSystem},System.Collections.Generic.List{IRaCIS.Core.Domain.Models.ReadingQuestionTrial})">
|
||||
<summary>
|
||||
递归处理父子关系
|
||||
</summary>
|
||||
<param name="ReadingQuestionCriterionTrialId"></param>
|
||||
<param name="trialId"></param>
|
||||
<param name="oldParentId"></param>
|
||||
<param name="newParentId"></param>
|
||||
<param name="systemQuesitonList"></param>
|
||||
<param name="needQuestionList"></param>
|
||||
</member>
|
||||
<member name="M:IRaCIS.Application.Services.ReadingQuestionService.AddOrUpdateReadingQuestionCriterionTrial(IRaCIS.Core.Application.Service.Reading.Dto.AddOrUpdateReadingQuestionCriterionTrialInDto)">
|
||||
<summary>
|
||||
|
|
|
@ -131,6 +131,8 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
|||
public string TypeValue { get; set; }
|
||||
|
||||
public bool IsEnable { get; set; }
|
||||
|
||||
public string ParentQuestionName { get; set; }
|
||||
}
|
||||
|
||||
public class ReadingQuestionSystemView
|
||||
|
@ -175,6 +177,8 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
|||
/// </summary>
|
||||
public Guid? ParentId { get; set; }
|
||||
|
||||
public string ParentQuestionName { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 类型值
|
||||
|
|
|
@ -315,8 +315,6 @@ namespace IRaCIS.Application.Services
|
|||
|
||||
}
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 新增修改项目问题标准(项目)
|
||||
/// </summary>
|
||||
|
|
|
@ -55,7 +55,8 @@ namespace IRaCIS.Core.Application.Service
|
|||
|
||||
|
||||
CreateMap<AddOrUpdateReadingQuestionSystemInDto, ReadingQuestionSystem>();
|
||||
CreateMap<ReadingQuestionSystem, ReadingQuestionSystemView>();
|
||||
CreateMap<ReadingQuestionSystem, ReadingQuestionSystemView>()
|
||||
.ForMember(d => d.ParentQuestionName, u => u.MapFrom(s => s.ParentReadingQuestionSystem==null?string.Empty: s.ParentReadingQuestionSystem.QuestionName));
|
||||
|
||||
|
||||
CreateMap<AddOrUpdateReadingQuestionCriterionTrialInDto, ReadingQuestionCriterionTrial>();
|
||||
|
@ -63,7 +64,8 @@ namespace IRaCIS.Core.Application.Service
|
|||
|
||||
|
||||
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)); ;
|
||||
#endregion
|
||||
|
||||
|
||||
|
|
|
@ -72,6 +72,9 @@ namespace IRaCIS.Core.Domain.Models
|
|||
[ForeignKey("ReadingQuestionCriterionSystemId")]
|
||||
public ReadingQuestionCriterionSystem ReadingQuestionCriterionSystem { get; set; }
|
||||
|
||||
[ForeignKey("ParentId")]
|
||||
public ReadingQuestionSystem ParentReadingQuestionSystem { get; set; }
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -70,7 +70,8 @@ namespace IRaCIS.Core.Domain.Models
|
|||
/// </summary>
|
||||
public Guid CreateUserId { get; set; }
|
||||
|
||||
|
||||
[ForeignKey("ParentId")]
|
||||
public ReadingQuestionTrial ParentReadingQuestionTrial { get; set; }
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue