修改一版

Uat_Study
he 2022-06-14 16:12:51 +08:00
parent f5fb83ab37
commit bf9edb8425
6 changed files with 20 additions and 5 deletions

View File

@ -4204,6 +4204,13 @@
<param name="indto"></param>
<returns></returns>
</member>
<member name="M:IRaCIS.Application.Services.ReadingQuestionService.SetTrialReadingQuestionCriterionIsIsEnable(IRaCIS.Core.Application.Service.Reading.Dto.SetSystemReadingQuestionCriterionIsIsEnable)">
<summary>
设置项目标准是否生效
</summary>
<param name="inDto"></param>
<returns></returns>
</member>
<member name="M:IRaCIS.Application.Services.ReadingQuestionService.GetReadingQuestionCriterionTrialList(IRaCIS.Core.Application.Service.Reading.Dto.ReadingQuestionCriterionTrialViewInDto)">
<summary>
获取项目问题标准(项目)

View File

@ -397,6 +397,8 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
/// 是否启用
/// </summary>
public bool IsEnable { get; set; }
public int QuestionCount { get; set; }
}
@ -422,6 +424,8 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
/// </summary>
public bool IsEnable { get; set; }
public int QuestionCount { get; set; }
/// <summary>
/// 是否是系统数据
/// </summary>

View File

@ -280,9 +280,6 @@ namespace IRaCIS.Application.Services
CreateQuestionRelation(ReadingQuestionCriterionTrialId, trialId, oldId, newId, systemQuesitonList, needQuestionList);
});
}
/// <summary>

View File

@ -51,7 +51,8 @@ namespace IRaCIS.Core.Application.Service
#region 阅片问题
CreateMap<AddOrUpdateReadingQuestionCriterionSystemInDto, ReadingQuestionCriterionSystem>();
CreateMap<ReadingQuestionCriterionSystem, ReadingQuestionCriterionSystemView>();
CreateMap<ReadingQuestionCriterionSystem, ReadingQuestionCriterionSystemView>()
.ForMember(d => d.QuestionCount, u => u.MapFrom(s => s.ReadingQuestionSystemList.Count()));
CreateMap<AddOrUpdateReadingQuestionSystemInDto, ReadingQuestionSystem>();
@ -60,7 +61,8 @@ namespace IRaCIS.Core.Application.Service
CreateMap<AddOrUpdateReadingQuestionCriterionTrialInDto, ReadingQuestionCriterionTrial>();
CreateMap<ReadingQuestionCriterionTrial, ReadingQuestionCriterionTrialView>();
CreateMap<ReadingQuestionCriterionTrial, ReadingQuestionCriterionTrialView>()
.ForMember(d => d.QuestionCount, u => u.MapFrom(s => s.ReadingQuestionTrialList.Count()));
CreateMap<AddOrUpdateReadingQuestionTrialInDto, ReadingQuestionTrial>();

View File

@ -53,6 +53,8 @@ namespace IRaCIS.Core.Domain.Models
/// </summary>
[ForeignKey("TrialId")]
public Trial Trial { get; set; }
public List<ReadingQuestionTrial> ReadingQuestionTrialList = new List<ReadingQuestionTrial>();
}

View File

@ -73,6 +73,9 @@ namespace IRaCIS.Core.Domain.Models
[ForeignKey("ParentId")]
public ReadingQuestionTrial ParentReadingQuestionTrial { get; set; }
[ForeignKey("ReadingQuestionCriterionTrialId")]
public ReadingQuestionCriterionTrial ReadingQuestionCriterionTrial { get; set; }
}