From 0f94413dd2fe6684dcea9e404604670dd95e5a16 Mon Sep 17 00:00:00 2001 From: lyt Date: Fri, 7 Sep 2018 14:23:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E8=AE=A2=E5=8D=95=E4=B8=BB?= =?UTF-8?q?=E8=A1=A8:=20=E4=BB=85=E5=90=8C=E6=AD=A5=E7=9A=84=E8=AE=A2?= =?UTF-8?q?=E5=8D=95=E6=9B=B4=E6=96=B0=E6=94=B6=E6=AC=BE=E5=86=85=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../trippestOrderSync/controllers/TulanduoApi.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/webht/third_party/trippestOrderSync/controllers/TulanduoApi.php b/webht/third_party/trippestOrderSync/controllers/TulanduoApi.php index 938d1a7b..82425233 100644 --- a/webht/third_party/trippestOrderSync/controllers/TulanduoApi.php +++ b/webht/third_party/trippestOrderSync/controllers/TulanduoApi.php @@ -344,16 +344,16 @@ class TulanduoApi extends CI_Controller } unset($vtf); } - $travel_fee = intval($coli_opi_id)===435 ? $travel_fee : $getInfo_byGroupCode->COLI_Price; - $travel_fee_currency = intval($coli_opi_id)===435 ? $travel_fee_currency : $getInfo_byGroupCode->COLI_CUrrency; $coli_update_column = array( "COLI_Memo" => substr($new_memo, 0, 400) ,"COLI_OrderDetailText" => $new_detail - ,"COLI_State" => $coli_state - ,"COLI_Price" => $travel_fee - ,"COLI_CUrrency" => $travel_fee_currency - ,"COLI_GroupCode" => mb_substr($detail_jsonResp->orderDetail->agcOrderNo, 0, 49) ); + if (intval($coli_opi_id)===435) { + $coli_update_column["COLI_State"] = $coli_state; + $coli_update_column["COLI_Price"] = $travel_fee; + $coli_update_column["COLI_CUrrency"] = $travel_fee_currency; + $coli_update_column["COLI_GroupCode"] = mb_substr($detail_jsonResp->orderDetail->agcOrderNo, 0, 49); + } $this->Order_update->biz_confirmlineinfo_update($coli_update_column); /** * update BIZ_ConfirmLineDetail