|  | @@ -422,7 +422,11 @@ public class PayServiceImpl implements PayService {
 | 
	
		
			
				|  |  |          BigDecimal maxReceipt = new BigDecimal(channel.get("maxReceipt"));
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          //已收金额
 | 
	
		
			
				|  |  | -        BigDecimal hasReceipt = new BigDecimal("7800");
 | 
	
		
			
				|  |  | +        List<PaymentChannelEnum> paymentChannelList = new ArrayList<>();
 | 
	
		
			
				|  |  | +        paymentChannelList.add(PaymentChannelEnum.YQPAY);
 | 
	
		
			
				|  |  | +        paymentChannelList.add(PaymentChannelEnum.ADAPAY);
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        BigDecimal hasReceipt = studentPaymentRouteOrderDao.getRouteOrderAmount(organId, paymentChannelList);
 | 
	
		
			
				|  |  |          if (hasReceipt.compareTo(maxReceipt) >= 0) {
 | 
	
		
			
				|  |  |              return null;
 | 
	
		
			
				|  |  |          }
 | 
	
	
		
			
				|  | @@ -473,7 +477,7 @@ public class PayServiceImpl implements PayService {
 | 
	
		
			
				|  |  |              studentPaymentRouteOrder.setMerNo(merNo);
 | 
	
		
			
				|  |  |              RouteOrders.add(studentPaymentRouteOrder);
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  | -        if(studentPaymentRouteOrderDao.batchAdd(RouteOrders) <=0){
 | 
	
		
			
				|  |  | +        if (studentPaymentRouteOrderDao.batchAdd(RouteOrders) <= 0) {
 | 
	
		
			
				|  |  |              throw new BizException("调用支付接口失败");
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |  
 |