|
@@ -749,7 +749,10 @@ public class StudentPaymentOrderDetailServiceImpl extends BaseServiceImpl<Long,
|
|
|
.reduce(BigDecimal.ZERO, BigDecimal::add);
|
|
|
cloudTeacherOrderService.addOrderDetail2CloudTeacher(studentPaymentOrder, cloudTeacherFee);
|
|
|
}
|
|
|
- musicGroupPaymentCalenderDetailService.update(paymentCalenderDetail);
|
|
|
+ if(BigDecimal.ZERO.compareTo(paymentCalenderDetail.getActualAmount()) < 0){
|
|
|
+ musicGroupPaymentCalenderDetailService.update(paymentCalenderDetail);
|
|
|
+ studentMusicCourseFeeService.addActualPrice(userId,musicGroupId,paymentCalenderDetail.getActualAmount());
|
|
|
+ }
|
|
|
studentRegistrationDao.update(studentRegistration);
|
|
|
}
|
|
|
|