From 96ce3926c56f5a9b82ad5fd78d9b372731dcb11a Mon Sep 17 00:00:00 2001 From: zengweihai Date: Mon, 25 Nov 2024 11:45:39 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A8=E6=80=81=E6=89=B9=E9=87=8F=E8=AF=84?= =?UTF-8?q?=E4=BC=B0=EF=BC=8C=E6=9D=83=E9=87=8D=E5=88=B6=E4=BD=8D=E6=95=B0?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE?= 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 c8d39bf..94fc10e 100644 --- a/main/java/shkd/repc/resm/formplugin/BatchEvaluatePageFormPlugin.java +++ b/main/java/shkd/repc/resm/formplugin/BatchEvaluatePageFormPlugin.java @@ -183,7 +183,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") +")";