From 5d49a0c9b90d9cdd8d3420df35c669e55b969587 Mon Sep 17 00:00:00 2001
From: he <109787524@qq.com>
Date: Wed, 2 Jul 2025 10:30:43 +0800
Subject: [PATCH] =?UTF-8?q?=E8=A3=81=E5=88=A4=E7=9A=84=E9=BB=98=E8=AE=A4?=
=?UTF-8?q?=E5=80=BC?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../Service/Reading/Dto/ReadingQuestionViewModel.cs | 6 +++++-
.../Reading/ReadingCriterion/ReadingQuestionService.cs | 3 +++
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/IRaCIS.Core.Application/Service/Reading/Dto/ReadingQuestionViewModel.cs b/IRaCIS.Core.Application/Service/Reading/Dto/ReadingQuestionViewModel.cs
index d03b0120e..8b9474450 100644
--- a/IRaCIS.Core.Application/Service/Reading/Dto/ReadingQuestionViewModel.cs
+++ b/IRaCIS.Core.Application/Service/Reading/Dto/ReadingQuestionViewModel.cs
@@ -2503,7 +2503,11 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
///
/// 答案分组
///
- public string AnswerGroup { get; set; } = String.Empty;
+ public string AnswerGroup { get; set; } ="[]";
+
+ public decimal? JudgeDifferenceValue { get; set; } = 0;
+
+ public string AnswerCombination { get; set; } = "[]";
///
/// 类型
diff --git a/IRaCIS.Core.Application/Service/Reading/ReadingCriterion/ReadingQuestionService.cs b/IRaCIS.Core.Application/Service/Reading/ReadingCriterion/ReadingQuestionService.cs
index 216979cc8..69ffea91d 100644
--- a/IRaCIS.Core.Application/Service/Reading/ReadingCriterion/ReadingQuestionService.cs
+++ b/IRaCIS.Core.Application/Service/Reading/ReadingCriterion/ReadingQuestionService.cs
@@ -1199,6 +1199,9 @@ namespace IRaCIS.Core.Application.Service
x.ReadingQuestionCriterionTrialId = trialCriterion.Id;
x.TrialId = trialCriterion.TrialId;
+ x.AnswerGroup = "[]";
+ x.AnswerCombination="[]";
+ x.JudgeDifferenceValue = 0;
});
var copyNewQuestionList = newTrialQuestionList.Clone();
// var trialQuestionList = await _readingQuestionTrialRepository.Where(x => x.ReadingQuestionCriterionTrialId == trialCriterion.Id).ToListAsync();