| 
														
															@@ -2898,7 +2898,9 @@ public class PracticeGroupServiceImpl extends BaseServiceImpl<Long, PracticeGrou 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         if(order.getStatus().equals(DealStatusEnum.SUCCESS)){ 
														 | 
														
														 | 
														
															         if(order.getStatus().equals(DealStatusEnum.SUCCESS)){ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             courseScheduleDao.updateGroupCourseLock(order.getMusicGroupId(),GroupType.PRACTICE,0); 
														 | 
														
														 | 
														
															             courseScheduleDao.updateGroupCourseLock(order.getMusicGroupId(),GroupType.PRACTICE,0); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         }else{ 
														 | 
														
														 | 
														
															         }else{ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            sysUserCashAccountService.updateBalance(order.getUserId(), order.getBalancePaymentAmount(), PlatformCashAccountDetailTypeEnum.REFUNDS, "陪练课购买失败"); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            if(Objects.nonNull( order.getBalancePaymentAmount())){ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                sysUserCashAccountService.updateBalance(order.getUserId(), order.getBalancePaymentAmount(), PlatformCashAccountDetailTypeEnum.REFUNDS, "陪练课购买失败"); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             studentPaymentOrderDao.update(order); 
														 | 
														
														 | 
														
															             studentPaymentOrderDao.update(order); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             groupService.deleteGroupInfo(order.getMusicGroupId(),GroupType.PRACTICE); 
														 | 
														
														 | 
														
															             groupService.deleteGroupInfo(order.getMusicGroupId(),GroupType.PRACTICE); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             return; 
														 | 
														
														 | 
														
															             return; 
														 |