动态加载权重制百分加载优化

This commit is contained in:
zengweihai 2024-11-19 10:28:23 +08:00
parent 53b839e0ac
commit 132287908e
1 changed files with 3 additions and 1 deletions

View File

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