|  | @@ -201,8 +201,10 @@ public class MusicGroupController extends BaseController {
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          Integer userId = studentRegistration.getUserId();
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |          StudentPaymentOrder ApplyOrder = studentPaymentOrderService.findMusicGroupApplyOrderByStatus(userId, studentRegistration.getMusicGroupId(), DealStatusEnum.SUCCESS);
 | 
	
		
			
				|  |  | -        if (ApplyOrder != null) {
 | 
	
		
			
				|  |  | +        StudentPaymentOrder waitPay = studentPaymentOrderService.findMusicGroupApplyOrderByStatus(userId, studentRegistration.getMusicGroupId(), DealStatusEnum.WAIT_PAY);
 | 
	
		
			
				|  |  | +        if (ApplyOrder != null && waitPay == null) {
 | 
	
		
			
				|  |  |              return failed("您已支付成功,请勿重复支付");
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -230,8 +232,9 @@ public class MusicGroupController extends BaseController {
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          Integer userId = studentRegistration.getUserId();
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -        StudentPaymentOrder ApplyOrder = studentPaymentOrderService.findMusicGroupApplyOrderByStatus(userId, studentRegistration.getMusicGroupId().toString(), DealStatusEnum.SUCCESS);
 | 
	
		
			
				|  |  | -        if (ApplyOrder != null) {
 | 
	
		
			
				|  |  | +        StudentPaymentOrder ApplyOrder = studentPaymentOrderService.findMusicGroupApplyOrderByStatus(userId, studentRegistration.getMusicGroupId(), DealStatusEnum.SUCCESS);
 | 
	
		
			
				|  |  | +        StudentPaymentOrder waitPay = studentPaymentOrderService.findMusicGroupApplyOrderByStatus(userId, studentRegistration.getMusicGroupId(), DealStatusEnum.WAIT_PAY);
 | 
	
		
			
				|  |  | +        if (ApplyOrder != null && waitPay == null) {
 | 
	
		
			
				|  |  |              return failed("您已支付成功,请勿重复支付");
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |          Map payMap = musicGroupService.rePay(registerPayDto);
 |