Prechádzať zdrojové kódy

ordersend monitor_notify total update

haru haru 3 rokov pred
rodič
commit
55e41b1e92
1 zmenil súbory, kde vykonal 2 pridanie a 1 odobranie
  1. 2 1
      admin/control/ordersendlist.php

+ 2 - 1
admin/control/ordersendlist.php

@@ -217,12 +217,13 @@ class ordersendlistControl extends SystemControl
         //耗时
         $fields = "refill_order.*,vr_order.order_state";
         $order_by = "({$cur_time} - refill_order.commit_time) desc";
-        $order_list = $model_refill_order->getMerchantTimeOut($orders_cond, 200, 10000,$fields, $order_by);
         $order_stat = Model('')->table('refill_order,vr_order,merchant')
             ->join('inner,inner')
             ->on('refill_order.order_id=vr_order.order_id,refill_order.mchid=merchant.mchid')
             ->field('count(*) as order_count, sum(refill_amount) as refill_amounts, sum(channel_amount) as channel_amounts, sum(mch_amount) as mch_amounts')
             ->where($orders_cond)->find();
+        $order_list = $model_refill_order->getMerchantTimeOut($orders_cond, 200, $order_stat['order_count'],$fields, $order_by);
+
 
         $special_stat = $this->extra_stats($base_cond, $timeout_type,$cur_time);
         $merchant_list = $this->merchants();