/**
   * 账户支付重试(暂时只对分销商来的订单有效)
   *
   * @param orderInfo
   * @return
   * @throws TrxOrderException
   * @throws AccountException
   * @throws PaymentException
   * @throws TrxorderGoodsException
   * @throws RuleException
   */
  public OrderInfo processReTry(OrderInfo orderInfo) {

    TrxOrder trxOrder = orderInfo.getTrxOrder();
    Long trxId = trxOrder.getId();
    // Long userId=trxOrder.getUserId();
    String requestId = trxOrder.getReqIp();
    String extendInfo = trxOrder.getExtendInfo();
    orderInfo.setExtendInfo(extendInfo + "-" + trxId); // 重新赋值扩展信息,供日志使用

    orderInfo.setPayRequestId("");
    orderInfo.setTrxId(trxId);
    orderInfo.setRequestId(requestId); // 余额支付时响应给用户订单号
    orderInfo.setActPayFlag(true); // 余额支付标志位
    orderInfo.setNeedPayAamount(0.0);
    orderInfo.setPayGoodsName("");
    orderInfo.setGoodsName("");

    // List<Account> accountList = accountService.findByUserId(userId);//用户帐户列表(分销商不走帐,暂时不需要账户列表)
    PaymentService actPaymentService =
        bizPaymentServiceFacroty.getPaymentService(
            PaymentType.ACTVC); // 分销商只有VC支付。暂时只有ACTVC的payment
    List<Payment> paymentList = actPaymentService.preQryPayment(String.valueOf(trxId));
    orderInfo.setPaymentList(paymentList); // 支付记录列表
    // orderInfo.setAccountList(accountList);//账户列表

    return orderInfo;
  }