From 6e5e3fc8891fa71e81167b38378754720c9e3957 Mon Sep 17 00:00:00 2001 From: lyt Date: Fri, 21 Dec 2018 16:04:50 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=B0=E6=8E=A5=E6=9C=AA=E8=AE=B0=E5=9B=A2?= =?UTF-8?q?=E6=AC=BE=E7=9A=84,=20=E8=A1=A5=E5=85=85=E6=94=B6=E6=AC=BE=3D0,?= =?UTF-8?q?=20=E9=81=BF=E5=85=8D=E6=B2=A1=E6=9C=89=E6=94=B6=E6=AC=BE?= =?UTF-8?q?=E6=97=A5=E6=9C=9F,=E5=AF=BC=E8=87=B4=E6=97=A0=E6=B3=95?= =?UTF-8?q?=E4=BF=9D=E5=AD=98=E8=B4=A2=E5=8A=A1=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../third_party/trippestOrderSync/controllers/TulanduoApi.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/webht/third_party/trippestOrderSync/controllers/TulanduoApi.php b/webht/third_party/trippestOrderSync/controllers/TulanduoApi.php index 279af95f..50d28f5c 100644 --- a/webht/third_party/trippestOrderSync/controllers/TulanduoApi.php +++ b/webht/third_party/trippestOrderSync/controllers/TulanduoApi.php @@ -522,6 +522,10 @@ class TulanduoApi extends CI_Controller // $this->insert_gai($coli_sn, $groupSN, $coli_id, $paytype, $pay_currency, $GAI_SQJE, $GAI_SSJE, $gai_vei_sn, $GAI_Memo); // } // } + if ( ! isset($detail_jsonResp->orderDetail->operationDetails->otherReceives) + && ! isset($detail_jsonResp->orderDetail->travelFees) ) { + $this->insert_gai($coli_sn, $groupSN, $coli_id, $paytype, $pay_currency, 0, 0, $gai_vei_sn, $auto_text ); + } } /*BIZ_GroupCombineOperationDetail*/ if ( isset($detail_jsonResp->orderDetail->groupOrderNo) ) {