From a794d8ebebd4fa0d2faa3e0843476303acbc4cbb Mon Sep 17 00:00:00 2001 From: ltx <1006158920@qq.com> Date: Wed, 14 Oct 2026 14:18:46 +0800 Subject: [PATCH] =?UTF-8?q?update=EF=BC=9A=E9=87=8D=E6=96=B0=E6=89=93?= =?UTF-8?q?=E5=88=86=E4=BB=BB=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- YD_Event.Application/Judge/JudgeScoringController.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/YD_Event.Application/Judge/JudgeScoringController.cs b/YD_Event.Application/Judge/JudgeScoringController.cs index dc93f53..1c960e0 100644 --- a/YD_Event.Application/Judge/JudgeScoringController.cs +++ b/YD_Event.Application/Judge/JudgeScoringController.cs @@ -368,8 +368,11 @@ public class JudgeScoringController : IDynamicApiController var legacyInteraction = roleType == "T" && (ctx.Config.RuleType.ToUpperInvariant() is "FREESTYLE_DOUBLE_SYNC" or "FREESTYLE_QUAD_SYNC") ? details.FirstOrDefault(x => x.ItemCode == "REQ_INTERACTION") : null; - // 仅排除已退役的互动配合录入项,历史明细仍保留在原评分单中供复核。 - var inputs = details.Where(x => legacyInteraction == null || x.ItemCode != "REQ_INTERACTION") + // 历史评分单还包含服务端生成的表现失误联动等明细。这些不是裁判输入项, + // 不能在修正预览时重新传给 Calculate 校验;原明细仍保留在旧评分单供复核。 + // 同时排除已退役的互动配合录入项,避免旧规则的输入阻断新评分表。 + var inputs = details.Where(x => !x.IsAutoGenerated + && (legacyInteraction == null || x.ItemCode != "REQ_INTERACTION")) .Select(x => new ScoreItemInputValue { ItemCode = x.ItemCode,