考试实训计算分调整

This commit is contained in:
tiger_zhou 2023-05-15 16:42:22 +08:00
parent 5d289fbc97
commit b62453ecc8

View File

@ -220,7 +220,6 @@ public class PaperUserService {
if(score >= sumScore){ if(score >= sumScore){
return ruleScore; return ruleScore;
} }
// int d = sumScore >=10 ? sumScore : sumScore * 100;
return new BigDecimal((score / sumScore) * ruleScore).setScale(0,RoundingMode.HALF_UP).intValue(); return new BigDecimal((score / sumScore) * ruleScore).setScale(0,RoundingMode.HALF_UP).intValue();
/*double t = score / sumScore; /*double t = score / sumScore;