修改id_number

dev
曾超新 5 years ago
parent a7d0396a96
commit 3568b60012
  1. 20
      frontend/controllers/DatabaseController.php

@ -647,10 +647,10 @@ class DatabaseController extends BaseController
$order_row->user_id = $user_id;
$order_row->status_id = 1;
$order_row->id_man = $b_info->car->car_man;
$order_row->id_man_number = $b_info->car->id_number;
$order_row->id_man_number = $b_info->car->id_man_number;
$order_row->link_man = $b_info->car->car_man;
$order_row->link_man_phone = $b_info->car->car_man_phone;
$order_row->link_man_number = $b_info->car->id_number;
$order_row->link_man_number = $b_info->car->id_man_number;
if(!$order_row->save()) {
throw new \Exception(print_r($order_row->getErrors(),true));
}
@ -824,7 +824,7 @@ class DatabaseController extends BaseController
$order_row->id_man = $b_info->car->car_man;
$order_row->link_man = $b_info->car->car_man;
$order_row->link_man_phone = $b_info->car->car_man_phone;
$order_row->link_man_number = $b_info->car->id_number;
$order_row->link_man_number = $b_info->car->id_man_number;
$order_row->return_status_id = 0;
$order_row->return_remark = '';
if(!$order_row->save()) {
@ -1214,10 +1214,10 @@ class DatabaseController extends BaseController
$order_row->user_id = $user_id;
$order_row->status_id = 1;
$order_row->id_man = $c_info->car->car_man;
$order_row->id_man_number = $c_info->car->id_number;
$order_row->id_man_number = $c_info->car->id_man_number;
$order_row->link_man = $c_info->car->car_man;
$order_row->link_man_phone = $c_info->car->car_man_phone;
$order_row->link_man_number = $c_info->car->id_number;
$order_row->link_man_number = $c_info->car->id_man_number;
if(!$order_row->save()) {
throw new \Exception(print_r($order_row->getErrors(),true));
}
@ -1388,10 +1388,10 @@ class DatabaseController extends BaseController
$order_row->user_id = $c_info->user_id;
$order_row->status_id = 1;
$order_row->id_man = $c_info->car->car_man;
$order_row->id_man_number = $c_info->car->id_number;
$order_row->id_man_number = $c_info->car->id_man_number;
$order_row->link_man = $c_info->car->car_man;
$order_row->link_man_phone = $c_info->car->car_man_phone;
$order_row->link_man_number = $c_info->car->id_number;
$order_row->link_man_number = $c_info->car->id_man_number;
if(!$order_row->save()) {
throw new \Exception(print_r($order_row->getErrors(),true));
}
@ -1889,10 +1889,10 @@ class DatabaseController extends BaseController
$order_row->user_id = $user_id;
$order_row->status_id = 1;
$order_row->id_man = $d_info->car->car_man;
$order_row->id_man_number = $d_info->car->id_number;
$order_row->id_man_number = $d_info->car->id_man_number;
$order_row->link_man = $d_info->car->car_man;
$order_row->link_man_phone = $d_info->car->car_man_phone;
$order_row->link_man_number = $d_info->car->id_number;
$order_row->link_man_number = $d_info->car->id_man_number;
if(!$order_row->save()) {
throw new \Exception(print_r($order_row->getErrors(),true));
}
@ -2060,7 +2060,7 @@ class DatabaseController extends BaseController
$order_row->user_id = $d_info->user_id;
$order_row->status_id = 1;
$order_row->id_man = $d_info->car->car_man;
$order_row->id_man_number = $d_info->car->id_number;
$order_row->id_man_number = $d_info->car->id_man_number;
$order_row->link_man = $d_info->car->car_man;
$order_row->link_man_phone = $d_info->car->car_man_phone;
$order_row->link_man_number = $d_info->car->id_man_number;

Loading…
Cancel
Save