|
|
|
@ -635,6 +635,26 @@ class TulanduoApi extends CI_Controller
|
|
|
|
|
$this->Orders_model->biz_groupcombineoperationdetail_save();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if (isset($detail_jsonResp->orderDetail->operationDetails->trafficOperations)) {
|
|
|
|
|
foreach ($detail_jsonResp->orderDetail->operationDetails->trafficOperations as $vto) {
|
|
|
|
|
$this->Orders_model->GCOD_GCI_combineNo = $detail_jsonResp->orderDetail->groupOrderNo ;
|
|
|
|
|
$this->Orders_model->GCOD_VEI_SN = $vei_SN;
|
|
|
|
|
$this->Orders_model->GCOD_operationType = "trafficOperations";
|
|
|
|
|
$this->Orders_model->GCOD_subType = $vto->birthland . " " . $vto->destination;
|
|
|
|
|
$this->Orders_model->GCOD_title = $vto->trafficNo;
|
|
|
|
|
$this->Orders_model->GCOD_dutyName = "";
|
|
|
|
|
$this->Orders_model->GCOD_dutyTel = "";
|
|
|
|
|
$this->Orders_model->GCOD_dutyPhoto = '';
|
|
|
|
|
$this->Orders_model->GCOD_startDate = $vto->useDate;
|
|
|
|
|
$this->Orders_model->GCOD_endDate = "";
|
|
|
|
|
$this->Orders_model->GCOD_sumMoney = $vto->sumMoney;
|
|
|
|
|
$this->Orders_model->GCOD_carLicense = "";
|
|
|
|
|
$this->Orders_model->GCOD_standard = "";
|
|
|
|
|
$this->Orders_model->GCOD_remark = $vto->remark;
|
|
|
|
|
$this->Orders_model->GCOD_useNum = $vto->useNum;
|
|
|
|
|
$this->Orders_model->biz_groupcombineoperationdetail_save();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
$output_text = "Got order operations from TuLanDuo:" . $detail_jsonResp->orderDetail->orderId . ". " . $coli_id;
|
|
|
|
|
log_message('error', $output_text);
|
|
|
|
|