|
@@ -90,7 +90,7 @@ public class CourseScheduleStudentPaymentServiceImpl extends BaseServiceImpl<Lon
|
|
|
courseScheduleStudentPayment.setExpectPrice(
|
|
|
vipGroupApplyBaseInfoDto.getOnlineClassesUnitPrice().multiply(
|
|
|
new BigDecimal(vipGroupActivity.getAttribute1()))
|
|
|
- .divide(new BigDecimal(100), CommonConstants.DECIMAL_FINAL_PLACE, BigDecimal.ROUND_DOWN)
|
|
|
+ .divide(new BigDecimal(100), CommonConstants.DECIMAL_FINAL_PLACE, BigDecimal.ROUND_HALF_UP)
|
|
|
);
|
|
|
break;
|
|
|
case GIVE_CLASS:
|
|
@@ -114,7 +114,7 @@ public class CourseScheduleStudentPaymentServiceImpl extends BaseServiceImpl<Lon
|
|
|
courseScheduleStudentPayment.setExpectPrice(
|
|
|
vipGroupApplyBaseInfoDto.getOfflineClassesUnitPrice().multiply(
|
|
|
new BigDecimal(vipGroupActivity.getAttribute1()))
|
|
|
- .divide(new BigDecimal(100), CommonConstants.DECIMAL_FINAL_PLACE, BigDecimal.ROUND_DOWN)
|
|
|
+ .divide(new BigDecimal(100), CommonConstants.DECIMAL_FINAL_PLACE, BigDecimal.ROUND_HALF_UP)
|
|
|
);
|
|
|
break;
|
|
|
case GIVE_CLASS:
|