|
@@ -866,6 +866,7 @@ public class MusicGroupServiceImpl extends BaseServiceImpl<String, MusicGroup> i
|
|
|
if(musicGroupStudentFees != null && musicGroupStudentFees.size() > 0){
|
|
|
musicGroupStudentFeeDao.batchInsert(musicGroupStudentFees,musicGroupPaymentCalenderService.getNextPaymentDate(musicGroupId, null,null),"PAID_COMPLETED");
|
|
|
}
|
|
|
+ musicGroupStudentFeeDao.batchUpdateCalenders(musicGroupId);
|
|
|
//记录操作日志
|
|
|
musicGroupBuildLogDao.insert(new MusicGroupBuildLog(musicGroupId,"确认开团(筹备中 -> 进行中)",sysUser.getId(),""));
|
|
|
musicGroup.setStatus(MusicGroupStatusEnum.PROGRESS);
|
|
@@ -1629,7 +1630,7 @@ public class MusicGroupServiceImpl extends BaseServiceImpl<String, MusicGroup> i
|
|
|
studentRegistration.getParentsName(),studentPaymentOrder.getActualAmount());
|
|
|
return true;
|
|
|
} else {
|
|
|
- if (studentPaymentOrder.getBalancePaymentAmount().doubleValue() > 0) {
|
|
|
+ if (studentPaymentOrder.getBalancePaymentAmount() != null && studentPaymentOrder.getBalancePaymentAmount().doubleValue() > 0) {
|
|
|
sysUserCashAccountService.updateBalance(userId, studentPaymentOrder.getBalancePaymentAmount(), PlatformCashAccountDetailTypeEnum.REFUNDS,
|
|
|
"乐团续费失败");
|
|
|
}
|