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) {