Compare commits

...

2 Commits

Author SHA1 Message Date
he 397a36214c Merge branch 'Test_IRC_Net8' of https://gitea.frp.extimaging.com/XCKJ/irc-netcore-api into Test_IRC_Net8
continuous-integration/drone/push Build is passing Details
2025-07-02 10:30:44 +08:00
he 5d49a0c9b9 裁判的默认值 2025-07-02 10:30:43 +08:00
2 changed files with 8 additions and 1 deletions

View File

@ -2503,7 +2503,11 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
/// <summary> /// <summary>
/// 答案分组 /// 答案分组
/// </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> /// <summary>
/// 类型 /// 类型

View File

@ -1199,6 +1199,9 @@ namespace IRaCIS.Core.Application.Service
x.ReadingQuestionCriterionTrialId = trialCriterion.Id; x.ReadingQuestionCriterionTrialId = trialCriterion.Id;
x.TrialId = trialCriterion.TrialId; x.TrialId = trialCriterion.TrialId;
x.AnswerGroup = "[]";
x.AnswerCombination="[]";
x.JudgeDifferenceValue = 0;
}); });
var copyNewQuestionList = newTrialQuestionList.Clone(); var copyNewQuestionList = newTrialQuestionList.Clone();
// var trialQuestionList = await _readingQuestionTrialRepository.Where(x => x.ReadingQuestionCriterionTrialId == trialCriterion.Id).ToListAsync(); // var trialQuestionList = await _readingQuestionTrialRepository.Where(x => x.ReadingQuestionCriterionTrialId == trialCriterion.Id).ToListAsync();