裁判的默认值

Test_IRC_Net8
he 2025-07-02 10:30:43 +08:00
parent 14b1a62a1f
commit 5d49a0c9b9
2 changed files with 8 additions and 1 deletions

View File

@ -2503,7 +2503,11 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
/// <summary>
/// 答案分组
/// </summary>
public string AnswerGroup { get; set; } = String.Empty;
public string AnswerGroup { get; set; } ="[]";
public decimal? JudgeDifferenceValue { get; set; } = 0;
public string AnswerCombination { get; set; } = "[]";
/// <summary>
/// 类型

View File

@ -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();