From f4346d30cde5ba10e30fb4c3d0dd06e0d0c8a7ab Mon Sep 17 00:00:00 2001 From: ltx <1006158920@qq.com> Date: Mon, 28 Sep 2026 14:26:29 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=A5=E4=BD=9C=E5=8F=B0=E8=A3=81=E5=88=A4?= =?UTF-8?q?=E5=88=97=E6=8C=89=E8=A3=81=E5=88=A4=E7=B1=BB=E5=9E=8B=E5=B1=95?= =?UTF-8?q?=E7=A4=BA=E5=AF=B9=E5=BA=94=E5=88=86=E5=80=BC=EF=BC=8C=E4=B8=8D?= =?UTF-8?q?=E5=86=8D=E7=BB=9F=E4=B8=80=E9=94=99=E8=AF=AF=E5=9C=B0=E8=AF=BB?= =?UTF-8?q?=E5=8F=96=E8=AF=84=E5=88=86=E5=8D=95=E6=80=BB=E5=88=86=E3=80=82?= =?UTF-8?q?=20=E4=B8=BB=E8=A3=81=E5=88=97=E7=8E=B0=E5=9C=A8=E5=B1=95?= =?UTF-8?q?=E7=A4=BA=E6=9C=80=E7=BB=88=E6=B1=87=E6=80=BB=E6=89=A3=E5=88=86?= =?UTF-8?q?=EF=BC=8C=E5=B7=B2=E5=8C=85=E5=90=AB=E8=A1=A8=E7=8E=B0=E8=A3=81?= =?UTF-8?q?=E5=88=A4=E5=92=8C=E4=B8=BB=E8=A3=81=E7=9A=84=E5=A4=B1=E8=AF=AF?= =?UTF-8?q?=E6=AC=A1=E6=95=B0=E5=B9=B3=E5=9D=87=E6=8D=A2=E7=AE=97=E7=BB=93?= =?UTF-8?q?=E6=9E=9C=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- YD_Event.Application/Judge/JudgeScoringController.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/YD_Event.Application/Judge/JudgeScoringController.cs b/YD_Event.Application/Judge/JudgeScoringController.cs index 8c106a9..74af7c5 100644 --- a/YD_Event.Application/Judge/JudgeScoringController.cs +++ b/YD_Event.Application/Judge/JudgeScoringController.cs @@ -1273,7 +1273,8 @@ public class JudgeScoringController : IDynamicApiController private static JudgeScorePreviewDto ToPreviewDto(ScoreSheetCalculationResult calculation, ScoreRuleConfig config) => new() { - DifficultyScore = calculation.DifficultyScore, + // 裁判端的难度小计按规则精度展示,内部仍保留原始值参与最终汇总。 + DifficultyScore = config.Round(calculation.DifficultyScore), PerformanceScore = calculation.PerformanceScore, RequiredScore = calculation.RequiredScore, DeductionScore = calculation.DeductionScore,