动态批量评估,权重制位数设置

This commit is contained in:
zengweihai 2024-11-25 11:45:39 +08:00
parent a9e3555979
commit 96ce3926c5
1 changed files with 3 additions and 1 deletions

View File

@ -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") +")";