|
@@ -94,7 +94,7 @@ public class StudentCourseConsumerServiceImpl implements StudentCourseConsumerSe
|
|
|
consumerDto.setCourseConsumerRate(consumerDto.getCourseSum().divide(courseConsumerNum,2,BigDecimal.ROUND_DOWN).multiply(bigDecimal));
|
|
|
}
|
|
|
if(consumerDto.getNormalNum().compareTo(BigDecimal.ZERO) != 0){
|
|
|
- consumerDto.setStandRate(consumerDto.getNum6().divide(consumerDto.getNormalNum(),2,BigDecimal.ROUND_DOWN));
|
|
|
+ consumerDto.setStandRate(consumerDto.getNum6().divide(consumerDto.getNormalNum(),2,BigDecimal.ROUND_DOWN).multiply(bigDecimal));
|
|
|
}
|
|
|
consumerDto.setCourseConsumerNum(courseConsumerNum);
|
|
|
}
|