Kaynağa Gözat

update limit

ayHaru 4 yıl önce
ebeveyn
işleme
7adb0b8137
1 değiştirilmiş dosya ile 3 ekleme ve 3 silme
  1. 3 3
      mobile/control/merchant_info.php

+ 3 - 3
mobile/control/merchant_info.php

@@ -72,8 +72,8 @@ class merchant_infoControl extends mbMerchantControl
         $i = 0;
         while (true)
         {
-            $start = $i * 1000;
-            $orders = $model_refill_order->getMerchantOrderList($cond,'','refill_order.order_id,refill_order.order_time,refill_order.mch_amount,vr_order.order_state', 'refill_order.order_id desc',"{$start},1000");
+            $start = $i * 10000;
+            $orders = $model_refill_order->getMerchantOrderList($cond,'','refill_order.order_id,refill_order.order_time,refill_order.mch_amount,vr_order.order_state', 'refill_order.order_id desc',"{$start},10000");
             $i++;
 
             if (empty($orders)) {
@@ -101,7 +101,7 @@ class merchant_infoControl extends mbMerchantControl
                 }
             }
 
-            if (count($orders) < 1000) {
+            if (count($orders) < 10000) {
                 break;
             }
         }