From c7dbf7ba923d25cce74d67f38944e3e2570828fc Mon Sep 17 00:00:00 2001 From: he <109787524@qq.com> Date: Mon, 27 May 2024 15:09:24 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Service/Reading/Dto/ReadingImageTaskViewModel.cs | 5 +++++ .../Reading/ReadingImageTask/ReadingJudgeTaskService.cs | 1 + 2 files changed, 6 insertions(+) diff --git a/IRaCIS.Core.Application/Service/Reading/Dto/ReadingImageTaskViewModel.cs b/IRaCIS.Core.Application/Service/Reading/Dto/ReadingImageTaskViewModel.cs index e4a20aa8d..61597b830 100644 --- a/IRaCIS.Core.Application/Service/Reading/Dto/ReadingImageTaskViewModel.cs +++ b/IRaCIS.Core.Application/Service/Reading/Dto/ReadingImageTaskViewModel.cs @@ -1847,6 +1847,11 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto /// public decimal? JudgeDifferenceValue { get; set; } + /// + /// 类型 + /// + public string Type { get; set; } = string.Empty; + /// /// 裁判百分比或绝对值的相差值匹配规则 /// diff --git a/IRaCIS.Core.Application/Service/Reading/ReadingImageTask/ReadingJudgeTaskService.cs b/IRaCIS.Core.Application/Service/Reading/ReadingImageTask/ReadingJudgeTaskService.cs index 9dda8fac0..b7422acaa 100644 --- a/IRaCIS.Core.Application/Service/Reading/ReadingImageTask/ReadingJudgeTaskService.cs +++ b/IRaCIS.Core.Application/Service/Reading/ReadingImageTask/ReadingJudgeTaskService.cs @@ -46,6 +46,7 @@ namespace IRaCIS.Application.Services QuestionGenre=x.QuestionGenre, DictionaryCode=x.DictionaryCode, JudgeType = x.JudgeType, + Type=x.Type, ReadingQuestionTrialId = x.Id, JudgeDifferenceValue= x.JudgeDifferenceValue, JudgeDifferenceType=x.JudgeDifferenceType, From 1caf4ff8e6f3d18ea01806c3d54d55baf8395383 Mon Sep 17 00:00:00 2001 From: he <109787524@qq.com> Date: Mon, 27 May 2024 16:11:20 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Service/Reading/ReadingImageTask/ReadingJudgeTaskService.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/IRaCIS.Core.Application/Service/Reading/ReadingImageTask/ReadingJudgeTaskService.cs b/IRaCIS.Core.Application/Service/Reading/ReadingImageTask/ReadingJudgeTaskService.cs index b7422acaa..b9f620388 100644 --- a/IRaCIS.Core.Application/Service/Reading/ReadingImageTask/ReadingJudgeTaskService.cs +++ b/IRaCIS.Core.Application/Service/Reading/ReadingImageTask/ReadingJudgeTaskService.cs @@ -1006,7 +1006,6 @@ namespace IRaCIS.Application.Services break; default: - noteEqual = false; break; } }