修改阅片标准列表

Uat_Study
hang 2022-10-10 09:18:27 +08:00
parent 369d3238d2
commit 664870c725
3 changed files with 11 additions and 1 deletions

View File

@ -225,6 +225,7 @@
阅片人维度 Subject统计表 阅片人维度 Subject统计表
</summary> </summary>
<param name="trialId"></param> <param name="trialId"></param>
<param name="trialReadingCriterionId"></param>
<returns></returns> <returns></returns>
</member> </member>
<member name="M:IRaCIS.Core.Application.Service.Allocation.VisitTaskService.GetSubjectAssignedDoctorList(System.Guid)"> <member name="M:IRaCIS.Core.Application.Service.Allocation.VisitTaskService.GetSubjectAssignedDoctorList(System.Guid)">

View File

@ -64,7 +64,14 @@ namespace IRaCIS.Core.Application.Service.Allocation
public async Task<List<TrialReadingCriterionDto>> GetTrialCriterionList(Guid trialId) public async Task<List<TrialReadingCriterionDto>> GetTrialCriterionList(Guid trialId)
{ {
return await _repository.Where<ReadingQuestionCriterionTrial>(t => t.TrialId == trialId && t.IsConfirm).Select(t => new TrialReadingCriterionDto() { TrialReadingCriterionId = t.Id, TrialReadingCriterionName = t.CriterionName }).ToListAsync(); var list= await _repository.Where<ReadingQuestionCriterionTrial>(t => t.TrialId == trialId && t.IsConfirm).Select(t => new TrialReadingCriterionDto() { TrialReadingCriterionId = t.Id, TrialReadingCriterionName = t.CriterionName }).ToListAsync();
if (list.Count == 0)
{
throw new BusinessValidationFailedException("该项目还未确认任何一个阅片标准");
}
return list;
} }

View File

@ -276,6 +276,8 @@ namespace IRaCIS.Application.Contracts
{ {
public Guid TrialReadingCriterionId { get; set; } public Guid TrialReadingCriterionId { get; set; }
public string TrialReadingCriterionName { get; set; } public string TrialReadingCriterionName { get; set; }
public ReadingMethod ReadingType { get; set; }
} }
public class TrialCriterionReadingCategory public class TrialCriterionReadingCategory