From ffe939c021965ce01f7f821a58c35bab49527d36 Mon Sep 17 00:00:00 2001 From: lyt Date: Mon, 19 Aug 2019 11:22:01 +0800 Subject: [PATCH] =?UTF-8?q?Trippest=E5=90=8C=E6=AD=A5:=E6=88=90=E6=9C=AC?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=88=BF=E8=B4=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controllers/TulanduoApi.php | 22 ++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/webht/third_party/trippestOrderSync/controllers/TulanduoApi.php b/webht/third_party/trippestOrderSync/controllers/TulanduoApi.php index 9c195477..7c551438 100644 --- a/webht/third_party/trippestOrderSync/controllers/TulanduoApi.php +++ b/webht/third_party/trippestOrderSync/controllers/TulanduoApi.php @@ -575,7 +575,27 @@ class TulanduoApi extends CI_Controller $this->Orders_model->biz_groupcombineoperationdetail_save(); } } - // 用房 ... + // 用房 + if (isset($detail_jsonResp->orderDetail->operationDetails->accommodationOperations) ) { + foreach ($detail_jsonResp->orderDetail->operationDetails->accommodationOperations as $vao) { + $this->Orders_model->GCOD_GCI_combineNo = trim_str($detail_jsonResp->orderDetail->groupOrderNo) ; + $this->Orders_model->GCOD_VEI_SN = $vei_SN; + $this->Orders_model->GCOD_operationType = "accommodationOperations"; + $this->Orders_model->GCOD_subType = $vao->type; + $this->Orders_model->GCOD_title = $vao->name; + $this->Orders_model->GCOD_startDate = $vao->useDate; + $this->Orders_model->GCOD_endDate = $vao->useDate; + $this->Orders_model->GCOD_useNum = $vao->useNum; + $this->Orders_model->GCOD_sumMoney = $vao->sumMoney; + $this->Orders_model->GCOD_standard = ""; + $this->Orders_model->GCOD_remark = $vao->remark; + $this->Orders_model->GCOD_dutyName = ""; + $this->Orders_model->GCOD_dutyTel = null; + $this->Orders_model->GCOD_dutyPhoto = null; + $this->Orders_model->GCOD_carLicense = ""; + $this->Orders_model->biz_groupcombineoperationdetail_save(); + } + } // 用餐 if (isset($detail_jsonResp->orderDetail->operationDetails->restraurantOperations) ) { foreach ($detail_jsonResp->orderDetail->operationDetails->restraurantOperations as $vro) {