|
|
@ -445,7 +445,7 @@ class TulanduoApi extends CI_Controller
|
|
|
|
$COLD_MemoText = raw_json_encode(array("Pick up"=>$detail_jsonResp->orderDetail->toTraffic, "Drop off"=>$detail_jsonResp->orderDetail->backTraffic));
|
|
|
|
$COLD_MemoText = raw_json_encode(array("Pick up"=>$detail_jsonResp->orderDetail->toTraffic, "Drop off"=>$detail_jsonResp->orderDetail->backTraffic));
|
|
|
|
$new_memotext = trim($cold_memotext)===""||(json_decode($cold_memotext)!==null&&!is_numeric(json_decode($cold_memotext))) ? $COLD_MemoText : $cold_memotext;
|
|
|
|
$new_memotext = trim($cold_memotext)===""||(json_decode($cold_memotext)!==null&&!is_numeric(json_decode($cold_memotext))) ? $COLD_MemoText : $cold_memotext;
|
|
|
|
$cold_update_column = array(
|
|
|
|
$cold_update_column = array(
|
|
|
|
"COLD_MemoText" => $new_memotext
|
|
|
|
"COLD_MemoText" => $COLD_MemoText
|
|
|
|
);
|
|
|
|
);
|
|
|
|
if (intval($coli_opi_id)===435) {
|
|
|
|
if (intval($coli_opi_id)===435) {
|
|
|
|
$cold_update_column['COLD_MemoText'] = $COLD_MemoText;
|
|
|
|
$cold_update_column['COLD_MemoText'] = $COLD_MemoText;
|
|
|
@ -634,26 +634,26 @@ class TulanduoApi extends CI_Controller
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// 其他收入
|
|
|
|
// 其他收入
|
|
|
|
if (isset($detail_jsonResp->orderDetail->operationDetails->otherReceives) ) {
|
|
|
|
// if (isset($detail_jsonResp->orderDetail->operationDetails->otherReceives) ) {
|
|
|
|
foreach ($detail_jsonResp->orderDetail->operationDetails->otherReceives as $vor) {
|
|
|
|
// foreach ($detail_jsonResp->orderDetail->operationDetails->otherReceives as $vor) {
|
|
|
|
$this->Orders_model->GCOD_GCI_combineNo = $detail_jsonResp->orderDetail->groupOrderNo ;
|
|
|
|
// $this->Orders_model->GCOD_GCI_combineNo = $detail_jsonResp->orderDetail->groupOrderNo ;
|
|
|
|
$this->Orders_model->GCOD_VEI_SN = $vei_SN;
|
|
|
|
// $this->Orders_model->GCOD_VEI_SN = $vei_SN;
|
|
|
|
$this->Orders_model->GCOD_operationType = "otherReceives";
|
|
|
|
// $this->Orders_model->GCOD_operationType = "otherReceives";
|
|
|
|
$this->Orders_model->GCOD_subType = $vor->type;
|
|
|
|
// $this->Orders_model->GCOD_subType = $vor->type;
|
|
|
|
$this->Orders_model->GCOD_title = "";
|
|
|
|
// $this->Orders_model->GCOD_title = "";
|
|
|
|
$this->Orders_model->GCOD_dutyName = "";
|
|
|
|
// $this->Orders_model->GCOD_dutyName = "";
|
|
|
|
$this->Orders_model->GCOD_dutyTel = "";
|
|
|
|
// $this->Orders_model->GCOD_dutyTel = "";
|
|
|
|
$this->Orders_model->GCOD_dutyPhoto = '';
|
|
|
|
// $this->Orders_model->GCOD_dutyPhoto = '';
|
|
|
|
$this->Orders_model->GCOD_startDate = "";
|
|
|
|
// $this->Orders_model->GCOD_startDate = "";
|
|
|
|
$this->Orders_model->GCOD_endDate = "";
|
|
|
|
// $this->Orders_model->GCOD_endDate = "";
|
|
|
|
$this->Orders_model->GCOD_sumMoney = $vor->sumMoney;
|
|
|
|
// $this->Orders_model->GCOD_sumMoney = $vor->sumMoney;
|
|
|
|
$this->Orders_model->GCOD_carLicense = "";
|
|
|
|
// $this->Orders_model->GCOD_carLicense = "";
|
|
|
|
$this->Orders_model->GCOD_standard = "";
|
|
|
|
// $this->Orders_model->GCOD_standard = "";
|
|
|
|
$this->Orders_model->GCOD_remark = $vor->remark;
|
|
|
|
// $this->Orders_model->GCOD_remark = $vor->remark;
|
|
|
|
$this->Orders_model->GCOD_useNum = $vor->useNum;
|
|
|
|
// $this->Orders_model->GCOD_useNum = $vor->useNum;
|
|
|
|
$this->Orders_model->biz_groupcombineoperationdetail_save();
|
|
|
|
// $this->Orders_model->biz_groupcombineoperationdetail_save();
|
|
|
|
}
|
|
|
|
// }
|
|
|
|
}
|
|
|
|
// }
|
|
|
|
if (isset($detail_jsonResp->orderDetail->operationDetails->trafficOperations)) {
|
|
|
|
if (isset($detail_jsonResp->orderDetail->operationDetails->trafficOperations)) {
|
|
|
|
foreach ($detail_jsonResp->orderDetail->operationDetails->trafficOperations as $vto) {
|
|
|
|
foreach ($detail_jsonResp->orderDetail->operationDetails->trafficOperations as $vto) {
|
|
|
|
$this->Orders_model->GCOD_GCI_combineNo = $detail_jsonResp->orderDetail->groupOrderNo ;
|
|
|
|
$this->Orders_model->GCOD_GCI_combineNo = $detail_jsonResp->orderDetail->groupOrderNo ;
|
|
|
|