考试实训计算分调整
This commit is contained in:
parent
5d289fbc97
commit
b62453ecc8
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user