|  | @@ -177,11 +177,13 @@ public class MemberRankSettingServiceImpl extends BaseServiceImpl<Integer, Membe
 | 
	
		
			
				|  |  |      public HttpResponseResult buy2Qqhe(MemberPayParamDto dto) throws Exception {
 | 
	
		
			
				|  |  |          //获取学员信息
 | 
	
		
			
				|  |  |          SysUser sysUser = getSysUser();
 | 
	
		
			
				|  |  | -        //查询是否有待支付订单
 | 
	
		
			
				|  |  | -        List<StudentPaymentOrder> studentPaymentOrders = studentPaymentOrderService.queryByCondition(GroupType.MEMBER,
 | 
	
		
			
				|  |  | -                null, sysUser.getId(), DealStatusEnum.ING, OrderTypeEnum.MEMBER);
 | 
	
		
			
				|  |  | -        if (CollectionUtils.isNotEmpty(studentPaymentOrders)) {
 | 
	
		
			
				|  |  | -            return BaseController.failed(HttpStatus.CONTINUE, studentPaymentOrders.get(0), "您有待支付的订单,是否继续支付");
 | 
	
		
			
				|  |  | +        if(!dto.getRepeatPay()){
 | 
	
		
			
				|  |  | +            //查询是否有待支付订单
 | 
	
		
			
				|  |  | +            List<StudentPaymentOrder> studentPaymentOrders = studentPaymentOrderService.queryByCondition(GroupType.MEMBER,
 | 
	
		
			
				|  |  | +                    null, sysUser.getId(), DealStatusEnum.ING, OrderTypeEnum.MEMBER);
 | 
	
		
			
				|  |  | +            if (CollectionUtils.isNotEmpty(studentPaymentOrders)) {
 | 
	
		
			
				|  |  | +                return BaseController.failed(HttpStatus.CONTINUE, studentPaymentOrders.get(0), "您有待支付的订单,是否继续支付");
 | 
	
		
			
				|  |  | +            }
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          //重新支付 需要传入订单号 并关闭订单  退余额 退优惠券
 |