商务订单修改主表的支付方式

feature/trippest
lyt 7 years ago
parent cbddbe1891
commit b6c9cab656

@ -402,9 +402,9 @@ class AlipayTradeService extends CI_Controller
$item->ALI_dealId,
$ht_memo
);
// 更新订单主表付款方式,防止没访问thankyou-train.asp
$this->Alipay_model->update_paymanner($GAI_COLI_SN);
if ($advisor_info->COLI_Department == 10) {
// 更新订单主表付款方式,防止没访问thankyou-train.asp
$this->Alipay_model->update_paymanner($GAI_COLI_SN);
// 把订单状态设置为13-新订单已支付
$this->Alipay_model->update_biz_coli_state($GAI_COLI_SN, 13);
}

@ -417,9 +417,9 @@ class IPayLinksService extends CI_Controller
$item->IPL_dealId,
$ht_memo
);
// 更新订单主表付款方式,防止没访问thankyou-train.asp
$this->IPayLinks_model->update_paymanner($GAI_COLI_SN);
if ($advisor_info->COLI_Department == 10) {
// 更新订单主表付款方式,防止没访问thankyou-train.asp
$this->IPayLinks_model->update_paymanner($GAI_COLI_SN);
// 把订单状态设置为13-新订单已支付
$this->IPayLinks_model->update_biz_coli_state($GAI_COLI_SN, 13);
}

@ -801,9 +801,9 @@ class Index extends CI_Controller {
} else {
$ssje = $this->Paypal_model->get_ssje($item->pn_mc_gross, '15002', mb_strtoupper($item->pn_mc_currency));
$this->Paypal_model->add_account_info($GAI_COLI_SN, $advisor_info->COLI_ID, $item->pn_mc_gross, $item->pn_payment_date, mb_strtoupper($item->pn_mc_currency), $ssje, $item->pn_payment_date, $item->pn_payment_date, $item->pn_payment_date, '', $item->pn_payer_email, $item->pn_txn_id, $ht_memo);
// 更新订单主表付款方式,防止没访问thankyou-train.asp
$this->Paypal_model->update_paymanner($GAI_COLI_SN, '15010');
if ($advisor_info->COLI_Department == 10) {
// 更新订单主表付款方式,防止没访问thankyou-train.asp
$this->Paypal_model->update_paymanner($GAI_COLI_SN, '15010');
// 把订单状态设置为13-新订单已支付
$this->Paypal_model->update_biz_coli_state($GAI_COLI_SN, 13);
}

Loading…
Cancel
Save