|
@@ -19,7 +19,7 @@ class refill_order_manualControl extends SystemControl
|
|
|
if (!empty($_GET['order_sn'])) {
|
|
|
$condition['refill_order.order_sn'] = $_GET['order_sn'];
|
|
|
$merchant_list = $this->merchants();
|
|
|
- $order_list = $model_refill_order->getMerchantOrderList($condition, 50, 'refill_order.*,vr_order.order_state', 'refill_order.order_time desc','',true);
|
|
|
+ $order_list = $model_refill_order->getMerchantOrderList($condition, 50,0, 'refill_order.*,vr_order.order_state', 'refill_order.order_time desc','',true);
|
|
|
$order_list = $this->OrderDataFormat($order_list, $merchant_list);
|
|
|
}
|
|
|
Tpl::output('order_list', $order_list);
|
|
@@ -130,7 +130,7 @@ class refill_order_manualControl extends SystemControl
|
|
|
return $ids;
|
|
|
};
|
|
|
|
|
|
- $orders = $model_refill_order->getMerchantOrderList($condition, 400, 'refill_order.*,vr_order.order_state', 'refill_order.channel_name DESC ');
|
|
|
+ $orders = $model_refill_order->getMerchantOrderList($condition, 400, 0,'refill_order.*,vr_order.order_state', 'refill_order.channel_name DESC ');
|
|
|
$orders = $this->OrderDataFormat($orders, $merchant_list);
|
|
|
$order_ids = array_column($orders,'order_id');
|
|
|
$order_ids = $unique_array($order_ids);
|
|
@@ -198,7 +198,7 @@ class refill_order_manualControl extends SystemControl
|
|
|
}
|
|
|
|
|
|
$model_refill_order = Model('refill_order');
|
|
|
- $orders = $model_refill_order->getMerchantOrderList($cond,'','refill_order.*,vr_order.order_state','refill_order.order_id desc',2000);
|
|
|
+ $orders = $model_refill_order->getMerchantOrderList($cond,'',0,'refill_order.*,vr_order.order_state','refill_order.order_id desc',2000);
|
|
|
|
|
|
if($oper_type == 'success')
|
|
|
{
|
|
@@ -270,7 +270,7 @@ class refill_order_manualControl extends SystemControl
|
|
|
$merchant_list = $this->merchants();
|
|
|
if(!empty($condition)) {
|
|
|
$condition['inner_status'] = 0;
|
|
|
- $order_list = $mod->getMerchantOrderList($condition, 200, 'refill_order.*,vr_order.order_state', 'refill_order.order_time desc');
|
|
|
+ $order_list = $mod->getMerchantOrderList($condition, 200, 0,'refill_order.*,vr_order.order_state', 'refill_order.order_time desc');
|
|
|
$order_list = $this->OrderDataFormat($order_list, $merchant_list);
|
|
|
if(empty($mch_orders)) {
|
|
|
$mch_orderData = [];
|
|
@@ -298,7 +298,7 @@ class refill_order_manualControl extends SystemControl
|
|
|
$order_id = $_GET['order_id'];
|
|
|
$condition['refill_order.order_id'] = ['in',$order_id];
|
|
|
|
|
|
- $order_list = Model('refill_order')->getMerchantOrderList($condition,1000,'refill_order.*,vr_order.order_state');
|
|
|
+ $order_list = Model('refill_order')->getMerchantOrderList($condition,1000,0,'refill_order.*,vr_order.order_state');
|
|
|
foreach ($order_list as $order) {
|
|
|
if($this->can_cancel_order($order)) {
|
|
|
$mchid = $order['mchid'];
|