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