Merge branch 'feature/trippest'

hotfix/远程访问多媒体中心
lyt 6 years ago
commit 04b65d2044

@ -369,16 +369,25 @@ class TulanduoApi extends CI_Controller
}
unset($vtf);
}
// 地接代收
$agency_receipt = 0;
if (isset($detail_jsonResp->orderDetail->replaceCollections) ) {
foreach ($detail_jsonResp->orderDetail->replaceCollections as $krc => $vrc) {
$agency_receipt = bcadd($agency_receipt, $vrc->money);
}
unset($vrc);
}
/** groupcombineinfo */
$this->Order_update->gci_where_update = " GCI_VendorOrderId='" . $detail_jsonResp->orderDetail->orderId . "' and GCI_VEI_SN in (" . implode(',', $this->vendor_ids) . ")"; // 不明确指定供应商id,出现过不对应的情况
$gci_update_column = array(
"GCI_combineNo" => isset($detail_jsonResp->orderDetail->groupOrderNo) ? trim_str($detail_jsonResp->orderDetail->groupOrderNo) : null
,"GCI_VEI_SN" => $vei_SN
,"GCI_GRI_SN" => $groupSN
,"GCI_travelDate" => $detail_jsonResp->orderDetail->travelDate
,"GCI_leaveDate" => $detail_jsonResp->orderDetail->leaveDate
,"GCI_createTime" => date('Y-m-d H:i:s')
,"GCI_priceCNY" => $travel_fee
,"GCI_VEI_SN" => $vei_SN
,"GCI_GRI_SN" => $groupSN
,"GCI_travelDate" => $detail_jsonResp->orderDetail->travelDate
,"GCI_leaveDate" => $detail_jsonResp->orderDetail->leaveDate
,"GCI_createTime" => date('Y-m-d H:i:s')
,"GCI_priceCNY" => $travel_fee
,"GCI_agencyReceipt" => $agency_receipt
);
$gci_info = $this->Order_update->biz_groupcombineinfo_update($gci_update_column);
/** GRoupInfo */

Loading…
Cancel
Save