From 969341380dd0f1687fd45dc205c24143490723b7 Mon Sep 17 00:00:00 2001
From: he <109787524@qq.com>
Date: Wed, 12 Aug 2026 14:06:49 +0800
Subject: [PATCH] =?UTF-8?q?=E8=8E=B7=E5=8F=96=E4=B8=8B=E4=B8=80=E4=B8=AA?=
=?UTF-8?q?=E9=98=85=E7=89=87=E4=BB=BB=E5=8A=A1=E6=96=B0=E5=A2=9E=E8=A3=81?=
=?UTF-8?q?=E5=88=A4=E9=85=8D=E7=BD=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../Service/Reading/Dto/ReadingImageTaskViewModel.cs | 10 ++++++++++
.../ReadingImageTask/ReadingImageTaskService.cs | 5 +++++
2 files changed, 15 insertions(+)
diff --git a/IRaCIS.Core.Application/Service/Reading/Dto/ReadingImageTaskViewModel.cs b/IRaCIS.Core.Application/Service/Reading/Dto/ReadingImageTaskViewModel.cs
index 4a8500658..9cdcb79c3 100644
--- a/IRaCIS.Core.Application/Service/Reading/Dto/ReadingImageTaskViewModel.cs
+++ b/IRaCIS.Core.Application/Service/Reading/Dto/ReadingImageTaskViewModel.cs
@@ -2199,6 +2199,16 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
///
public DefaultSegmentNameDto DefaultSegmentName { get; set; }
+ ///
+ /// 仲裁模式
+ ///
+ public JudgeMode JudgeModeEnum { get; set; } = JudgeMode.SelectOne;
+
+ ///
+ /// 裁判规则
+ ///
+ public JudgeRule JudgeRuleEnum { get; set; } = JudgeRule.Consistent;
+
}
public class GetReadingImgInDto
diff --git a/IRaCIS.Core.Application/Service/Reading/ReadingImageTask/ReadingImageTaskService.cs b/IRaCIS.Core.Application/Service/Reading/ReadingImageTask/ReadingImageTaskService.cs
index 7adf73788..2a285b05b 100644
--- a/IRaCIS.Core.Application/Service/Reading/ReadingImageTask/ReadingImageTaskService.cs
+++ b/IRaCIS.Core.Application/Service/Reading/ReadingImageTask/ReadingImageTaskService.cs
@@ -3935,6 +3935,9 @@ namespace IRaCIS.Core.Application.Service
x.ReadingToolList,
x.CircleRadius,
x.DefaultSegmentName,
+ x.JudgeGenerateEnum,
+ x.JudgeModeEnum,
+ x.JudgeRuleEnum,
}).FirstNotNullAsync();
task.IsReadingShowPreviousResults = criterionInfo.IsReadingShowPreviousResults;
@@ -3998,6 +4001,8 @@ namespace IRaCIS.Core.Application.Service
task.IsViewStudyPart = visitTaskInfo.ReadingCategory == ReadingCategory.Judge || visitTaskInfo.IsViewStudyPart;
task.IsReadKeyFile = await _criterionKeyFileReadRepository.AnyAsync(x => x.IdentityUserId == _userInfo.IdentityUserId && x.TrialCriterionId == task.TrialReadingCriterionId);
task.IsHaveKeyFile = await _trialCriterionKeyFileRepository.AnyAsync(x => x.TrialCriterionId == task.TrialReadingCriterionId);
+ task.JudgeModeEnum = criterionInfo.JudgeModeEnum;
+ task.JudgeRuleEnum = criterionInfo.JudgeRuleEnum;
// 添加默认答案
if (inDto.VisitTaskId == null && visitTaskInfo.ReadingTaskState != ReadingTaskState.HaveSigned)
{