From 22afd356a62b1cb3e3d3e67940a8deff66e718da Mon Sep 17 00:00:00 2001 From: he <109787524@qq.com> Date: Wed, 12 Aug 2026 14:17:02 +0800 Subject: [PATCH] =?UTF-8?q?GetNextTask=20=E6=96=B0=E5=A2=9E=20ArbitrationR?= =?UTF-8?q?ule?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Service/Reading/Dto/ReadingImageTaskViewModel.cs | 5 +++++ .../Reading/ReadingImageTask/ReadingImageTaskService.cs | 2 ++ 2 files changed, 7 insertions(+) diff --git a/IRaCIS.Core.Application/Service/Reading/Dto/ReadingImageTaskViewModel.cs b/IRaCIS.Core.Application/Service/Reading/Dto/ReadingImageTaskViewModel.cs index 9cdcb79c3..6ab71cbf2 100644 --- a/IRaCIS.Core.Application/Service/Reading/Dto/ReadingImageTaskViewModel.cs +++ b/IRaCIS.Core.Application/Service/Reading/Dto/ReadingImageTaskViewModel.cs @@ -2209,6 +2209,11 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto /// public JudgeRule JudgeRuleEnum { get; set; } = JudgeRule.Consistent; + /// + /// 仲裁对象 + /// + public ArbitrationRule ArbitrationRule { get; set; } = ArbitrationRule.Reading; + } public class GetReadingImgInDto diff --git a/IRaCIS.Core.Application/Service/Reading/ReadingImageTask/ReadingImageTaskService.cs b/IRaCIS.Core.Application/Service/Reading/ReadingImageTask/ReadingImageTaskService.cs index 2a285b05b..636644bd0 100644 --- a/IRaCIS.Core.Application/Service/Reading/ReadingImageTask/ReadingImageTaskService.cs +++ b/IRaCIS.Core.Application/Service/Reading/ReadingImageTask/ReadingImageTaskService.cs @@ -3938,6 +3938,7 @@ namespace IRaCIS.Core.Application.Service x.JudgeGenerateEnum, x.JudgeModeEnum, x.JudgeRuleEnum, + x.ArbitrationRule, }).FirstNotNullAsync(); task.IsReadingShowPreviousResults = criterionInfo.IsReadingShowPreviousResults; @@ -4003,6 +4004,7 @@ namespace IRaCIS.Core.Application.Service task.IsHaveKeyFile = await _trialCriterionKeyFileRepository.AnyAsync(x => x.TrialCriterionId == task.TrialReadingCriterionId); task.JudgeModeEnum = criterionInfo.JudgeModeEnum; task.JudgeRuleEnum = criterionInfo.JudgeRuleEnum; + task.ArbitrationRule = criterionInfo.ArbitrationRule; // 添加默认答案 if (inDto.VisitTaskId == null && visitTaskInfo.ReadingTaskState != ReadingTaskState.HaveSigned) {