|  | @@ -220,7 +220,7 @@ public class UserOrderServiceImpl extends ServiceImpl<UserOrderDao, UserOrder> i
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      @Override
 | 
	
		
			
				|  |  |      public Integer updateStatusByOrderNo(String orderNo, String orderStatus) {
 | 
	
		
			
				|  |  | -        return baseMapper.updateStatusByOrderNo(orderNo,orderStatus);
 | 
	
		
			
				|  |  | +        return baseMapper.updateStatusByOrderNo(orderNo, orderStatus);
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      @Override
 | 
	
	
		
			
				|  | @@ -652,17 +652,17 @@ public class UserOrderServiceImpl extends ServiceImpl<UserOrderDao, UserOrder> i
 | 
	
		
			
				|  |  |          updateById(detail);
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          try {
 | 
	
		
			
				|  |  | -            //更新付款单
 | 
	
		
			
				|  |  | -            UserOrderPayment orderPayment = orderPaymentService.detailByTransNo(hfRes.getString("id"));
 | 
	
		
			
				|  |  | -            if (null != orderPayment) {
 | 
	
		
			
				|  |  | -                orderPayment.setStatus(TradeStatusEnum.succeeded);
 | 
	
		
			
				|  |  | -                orderPayment.setArrivalTime(now);
 | 
	
		
			
				|  |  | -                orderPayment.setUpdateTime(now);
 | 
	
		
			
				|  |  | -                if (null != hfRes) {
 | 
	
		
			
				|  |  | +            if (null != hfRes) {
 | 
	
		
			
				|  |  | +                //更新付款单
 | 
	
		
			
				|  |  | +                UserOrderPayment orderPayment = orderPaymentService.detailByTransNo(hfRes.getString("id"));
 | 
	
		
			
				|  |  | +                if (null != orderPayment) {
 | 
	
		
			
				|  |  | +                    orderPayment.setStatus(TradeStatusEnum.succeeded);
 | 
	
		
			
				|  |  | +                    orderPayment.setArrivalTime(now);
 | 
	
		
			
				|  |  | +                    orderPayment.setUpdateTime(now);
 | 
	
		
			
				|  |  |                      orderPayment.setBackPayAmt(new BigDecimal(hfRes.getString("pay_amt")));
 | 
	
		
			
				|  |  |                      orderPayment.setFeeAmt(new BigDecimal(hfRes.getString("fee_amt")));
 | 
	
		
			
				|  |  | +                    orderPaymentService.updateById(orderPayment);
 | 
	
		
			
				|  |  |                  }
 | 
	
		
			
				|  |  | -                orderPaymentService.updateById(orderPayment);
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  |          } catch (Exception e) {
 | 
	
		
			
				|  |  |              e.printStackTrace();
 |