|
@@ -91,7 +91,7 @@ class refill_order_manualControl extends SystemControl
|
|
if($type != 'notify') {
|
|
if($type != 'notify') {
|
|
$condition['vr_order.order_state'] = ORDER_STATE_SEND;
|
|
$condition['vr_order.order_state'] = ORDER_STATE_SEND;
|
|
}
|
|
}
|
|
- $order_list = $model_refill_order->getMerchantOrderList($condition,'','refill_order.*,vr_order.order_state');
|
|
|
|
|
|
+ $order_list = $model_refill_order->getMerchantOrderList($condition,'','refill_order.*,vr_order.order_state','refill_order.order_id desc',2000);
|
|
if($type == 'success') {
|
|
if($type == 'success') {
|
|
foreach ($order_list as $order) {
|
|
foreach ($order_list as $order) {
|
|
$check_fetch_order = $this->check_fetch_order($order['order_sn']);
|
|
$check_fetch_order = $this->check_fetch_order($order['order_sn']);
|