|  | @@ -18,6 +18,7 @@ import com.ym.mec.common.entity.ImGroupMember;
 | 
											
												
													
														|  |  import com.ym.mec.common.entity.ImGroupModel;
 |  |  import com.ym.mec.common.entity.ImGroupModel;
 | 
											
												
													
														|  |  import com.ym.mec.common.exception.BizException;
 |  |  import com.ym.mec.common.exception.BizException;
 | 
											
												
													
														|  |  import com.ym.mec.common.page.PageInfo;
 |  |  import com.ym.mec.common.page.PageInfo;
 | 
											
												
													
														|  | 
 |  | +import com.ym.mec.common.service.IdGeneratorService;
 | 
											
												
													
														|  |  import com.ym.mec.common.service.impl.BaseServiceImpl;
 |  |  import com.ym.mec.common.service.impl.BaseServiceImpl;
 | 
											
												
													
														|  |  import com.ym.mec.im.ImFeignService;
 |  |  import com.ym.mec.im.ImFeignService;
 | 
											
												
													
														|  |  import com.ym.mec.thirdparty.message.MessageSenderPluginContext;
 |  |  import com.ym.mec.thirdparty.message.MessageSenderPluginContext;
 | 
											
										
											
												
													
														|  | @@ -112,6 +113,8 @@ public class VipGroupServiceImpl extends BaseServiceImpl<Long, VipGroup> impleme
 | 
											
												
													
														|  |      private TeacherService teacherService;
 |  |      private TeacherService teacherService;
 | 
											
												
													
														|  |  	@Autowired
 |  |  	@Autowired
 | 
											
												
													
														|  |  	private StudentPauseInfoDao studentPauseInfoDao;
 |  |  	private StudentPauseInfoDao studentPauseInfoDao;
 | 
											
												
													
														|  | 
 |  | +	@Autowired
 | 
											
												
													
														|  | 
 |  | +	private IdGeneratorService idGeneratorService;
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  	private static final Logger LOGGER = LoggerFactory
 |  |  	private static final Logger LOGGER = LoggerFactory
 | 
											
												
													
														|  |  			.getLogger(VipGroup.class);
 |  |  			.getLogger(VipGroup.class);
 | 
											
										
											
												
													
														|  | @@ -1034,7 +1037,7 @@ public class VipGroupServiceImpl extends BaseServiceImpl<Long, VipGroup> impleme
 | 
											
												
													
														|  |  		StudentPaymentOrder studentPaymentOrder=new StudentPaymentOrder();
 |  |  		StudentPaymentOrder studentPaymentOrder=new StudentPaymentOrder();
 | 
											
												
													
														|  |  		studentPaymentOrder.setUserId(user.getId());
 |  |  		studentPaymentOrder.setUserId(user.getId());
 | 
											
												
													
														|  |          studentPaymentOrder.setGroupType(GroupType.VIP);
 |  |          studentPaymentOrder.setGroupType(GroupType.VIP);
 | 
											
												
													
														|  | -		String orderNo=StringUtils.join(new String[]{user.getId().toString(),String.valueOf(System.currentTimeMillis())});
 |  | 
 | 
											
												
													
														|  | 
 |  | +		String orderNo=idGeneratorService.generatorId("payment") + "";
 | 
											
												
													
														|  |  		studentPaymentOrder.setOrderNo(orderNo);
 |  |  		studentPaymentOrder.setOrderNo(orderNo);
 | 
											
												
													
														|  |  		studentPaymentOrder.setStatus(DealStatusEnum.ING);
 |  |  		studentPaymentOrder.setStatus(DealStatusEnum.ING);
 | 
											
												
													
														|  |  		studentPaymentOrder.setType(OrderTypeEnum.SMALL_CLASS_TO_BUY);
 |  |  		studentPaymentOrder.setType(OrderTypeEnum.SMALL_CLASS_TO_BUY);
 |