From 132287908e05b9e56f7e423da0793d100ffbb4e3 Mon Sep 17 00:00:00 2001 From: zengweihai Date: Tue, 19 Nov 2024 10:28:23 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A8=E6=80=81=E5=8A=A0=E8=BD=BD=E6=9D=83?= =?UTF-8?q?=E9=87=8D=E5=88=B6=E7=99=BE=E5=88=86=E5=8A=A0=E8=BD=BD=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../repc/resm/formplugin/BatchEvaluatePageFormPlugin.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/main/java/shkd/repc/resm/formplugin/BatchEvaluatePageFormPlugin.java b/main/java/shkd/repc/resm/formplugin/BatchEvaluatePageFormPlugin.java index d1dce9a..f0e07f0 100644 --- a/main/java/shkd/repc/resm/formplugin/BatchEvaluatePageFormPlugin.java +++ b/main/java/shkd/repc/resm/formplugin/BatchEvaluatePageFormPlugin.java @@ -432,7 +432,9 @@ public class BatchEvaluatePageFormPlugin extends AbstractFormPlugin implements P indexColumnMaxNumber.add(dy.getInt("standardscore")); break; case "weight": - name = name + "(权重制:"+ dy.getBigDecimal("percent")+")"; + BigDecimal percent = dy.getBigDecimal("percent"); + percent = percent.setScale(2); + name = name + "(权重制:"+ percent +")"; break; case "share": name = name + "(份额制:"+ dy.getInt("portion") +")";