|
|
@ -13,6 +13,13 @@ class Order_model extends CI_Model {
|
|
|
|
where
|
|
|
|
where
|
|
|
|
COLI_ID = ?", $order_id);
|
|
|
|
COLI_ID = ?", $order_id);
|
|
|
|
$order_array = $order_query->row_array();
|
|
|
|
$order_array = $order_query->row_array();
|
|
|
|
|
|
|
|
if (empty($order_array)) {
|
|
|
|
|
|
|
|
$order_array = [
|
|
|
|
|
|
|
|
'COLI_Name' => '无法查到该订单',
|
|
|
|
|
|
|
|
'COLI_OrderDetailText' => '请检查订单号是否正确',
|
|
|
|
|
|
|
|
'COLI_OrderStartDate' => 'NULL'
|
|
|
|
|
|
|
|
];
|
|
|
|
|
|
|
|
}
|
|
|
|
return $order_array;
|
|
|
|
return $order_array;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -26,8 +33,8 @@ class Order_model extends CI_Model {
|
|
|
|
|
|
|
|
|
|
|
|
if (empty($order_array)) {
|
|
|
|
if (empty($order_array)) {
|
|
|
|
$order_array = [
|
|
|
|
$order_array = [
|
|
|
|
'COLI_Name' => 'NULL',
|
|
|
|
'COLI_Name' => '无法查到该订单',
|
|
|
|
'COLI_OrderDetailText' => 'NULL',
|
|
|
|
'COLI_OrderDetailText' => '订单可能没有同步回来',
|
|
|
|
'COLI_OrderStartDate' => 'NULL'
|
|
|
|
'COLI_OrderStartDate' => 'NULL'
|
|
|
|
];
|
|
|
|
];
|
|
|
|
}
|
|
|
|
}
|
|
|
|