|
|
|
@ -176,8 +176,9 @@ log_message('error','new coli ' . $this->Orders_model->BIZ_COLI_ID);
|
|
|
|
|
/**BIZ_ConfirmLineDetail*/
|
|
|
|
|
$this->Orders_model->COLD_COLI_SN = $this->Orders_model->BIZ_COLI_SN;
|
|
|
|
|
$this->Orders_model->COLD_ServiceType = "D";
|
|
|
|
|
$this->Orders_model->COLD_ServiceSN = $serviceSN;
|
|
|
|
|
$this->Orders_model->COLD_ServiceSN = $serviceSN->PAG2_SN;
|
|
|
|
|
$this->Orders_model->COLD_ServiceSN2 = $pag_sub;
|
|
|
|
|
$this->Orders_model->COLD_ServiceCity = $serviceSN->PAG_CII_SN;
|
|
|
|
|
$this->Orders_model->COLD_StartDate = $vo['travelDate'];
|
|
|
|
|
$this->Orders_model->COLD_EndDate = $vo['leaveDate'];
|
|
|
|
|
$this->Orders_model->COLD_PersonNum = $vo['adultNum'];
|
|
|
|
@ -223,7 +224,7 @@ log_message('error','new coli ' . $this->Orders_model->BIZ_COLI_ID);
|
|
|
|
|
|
|
|
|
|
public function update_HT_order_operation($coli_sn=null)
|
|
|
|
|
{
|
|
|
|
|
$this->load->model('Orders_update');
|
|
|
|
|
$this->load->model('Order_update');
|
|
|
|
|
if ($coli_sn !== null) {
|
|
|
|
|
$to_update_list = $this->Orders_model->get_groupCombineInfo($coli_sn);
|
|
|
|
|
} else {
|
|
|
|
@ -249,21 +250,21 @@ log_message('error','new coli ' . $this->Orders_model->BIZ_COLI_ID);
|
|
|
|
|
/** HT 开始 */
|
|
|
|
|
/** UPDATE */
|
|
|
|
|
/** BIZ_ConfirmLineInfo */
|
|
|
|
|
$this->Orders_update->coli_where_update = " COLI_SN=" . $order->GCI_COLI_SN;
|
|
|
|
|
$this->Order_update->coli_where_update = " COLI_SN=" . $order->GCI_COLI_SN;
|
|
|
|
|
$coli_update_column = array(
|
|
|
|
|
"COLI_Memo" => $order->COLI_Memo . "\r\n" . $detail_jsonResp->orderDetail->orderRemark
|
|
|
|
|
,"COLI_OrderDetailText" => $order->COLI_OrderDetailText . "\r\n" // 调度信息加上以便在HT界面上显示 todo
|
|
|
|
|
);
|
|
|
|
|
$this->Orders_update->biz_confirmlineinfo_update($coli_update_column);
|
|
|
|
|
$this->Order_update->biz_confirmlineinfo_update($coli_update_column);
|
|
|
|
|
/** BIZ_ConfirmLineDetail */ // nothing to update
|
|
|
|
|
/** biz_groupcombineinfo */
|
|
|
|
|
$this->Orders_update->gci_where_update = " GCI_SN=" . $order->GCI_SN;
|
|
|
|
|
$this->Order_update->gci_where_update = " GCI_SN=" . $order->GCI_SN;
|
|
|
|
|
$gci_update_column = array(
|
|
|
|
|
"GCI_combineNo" => $detail_jsonResp->orderDetail->groupOrderNo
|
|
|
|
|
,"GCI_travelDate" => $detail_jsonResp->orderDetail->travelDate
|
|
|
|
|
,"GCI_leaveDate" => $detail_jsonResp->orderDetail->leaveDate
|
|
|
|
|
);
|
|
|
|
|
$this->Orders_update->biz_groupcombineinfo_update($gci_update_column);
|
|
|
|
|
$this->Order_update->biz_groupcombineinfo_update($gci_update_column);
|
|
|
|
|
/** INSERT */
|
|
|
|
|
/*BIZ_BookPeople*/
|
|
|
|
|
foreach ($detail_jsonResp->orderDetail->customers as $kd => $vd) {
|
|
|
|
|