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