|  | @@ -63,7 +63,7 @@ public class SporadicChargeInfoImpl extends BaseServiceImpl<Integer, SporadicCha
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      @Override
 | 
	
		
			
				|  |  |      @Transactional(propagation = Propagation.REQUIRED, rollbackFor = Exception.class)
 | 
	
		
			
				|  |  | -    public Boolean renewForCallback(StudentPaymentOrder studentPaymentOrder) {
 | 
	
		
			
				|  |  | +    public Boolean renewForCallback(StudentPaymentOrder studentPaymentOrder) throws Exception {
 | 
	
		
			
				|  |  |          int updateCount = studentPaymentOrderDao.update(studentPaymentOrder);
 | 
	
		
			
				|  |  |          if (updateCount <= 0) {
 | 
	
		
			
				|  |  |              throw new BizException("订单更新失败");
 | 
	
	
		
			
				|  | @@ -151,6 +151,9 @@ public class SporadicChargeInfoImpl extends BaseServiceImpl<Integer, SporadicCha
 | 
	
		
			
				|  |  |                          flag = true;
 | 
	
		
			
				|  |  |                          break;
 | 
	
		
			
				|  |  |                      }
 | 
	
		
			
				|  |  | +                    int max=100,min=1;
 | 
	
		
			
				|  |  | +                    long ran2 = (long) (Math.random()*(max-min)+min);
 | 
	
		
			
				|  |  | +                    Thread.sleep(ran2);
 | 
	
		
			
				|  |  |                  }
 | 
	
		
			
				|  |  |                  if (!flag) {
 | 
	
		
			
				|  |  |                      throw new BizException("活动火爆,请稍后再试");
 |