chenbo 4 år sedan
förälder
incheckning
19d862c9cb
3 ändrade filer med 6 tillägg och 6 borttagningar
  1. 2 2
      lib/index.class.php
  2. 2 2
      lib/index_day_k.class.php
  3. 2 2
      lib/stock.class.php

+ 2 - 2
lib/index.class.php

@@ -20,10 +20,10 @@ class Index {
         return $Table_index->getInfoByCode($code);
     }
 
-    static public function getList($filter = array(), $count=0, $page=0, $pagesize=0, $order=0)
+    static public function getList($filter = array(), $count=0, $page=0, $pagesize=0, $order=0, $limit = 0)
     {
         $Table_index = new Table_index();
-        return $Table_index->getList($filter, $count, $page, $pagesize, $order);
+        return $Table_index->getList($filter, $count, $page, $pagesize, $order, $limit);
     }
 
     static public function getAllList()

+ 2 - 2
lib/index_day_k.class.php

@@ -20,10 +20,10 @@ class Index_day_k {
         return $Table_index_day_k->getInfoByCodeAndDate($code, $date);
     }
 
-    static public function getList($filter = array(), $count=0, $page=0, $pagesize=0, $order=0)
+    static public function getList($filter = array(), $count=0, $page=0, $pagesize=0, $order=0, $limit = 0)
     {
         $Table_index_day_k = new Table_index_day_k();
-        return $Table_index_day_k->getList($filter, $count, $page, $pagesize, $order);
+        return $Table_index_day_k->getList($filter, $count, $page, $pagesize, $order, $limit);
     }
 
     static public function getAllList()

+ 2 - 2
lib/stock.class.php

@@ -20,10 +20,10 @@ class Stock {
         return $Table_stock->getInfoByCode($code);
     }
 
-    static public function getList($filter = array(), $count=0, $page=0, $pagesize=0, $order=0)
+    static public function getList($filter = array(), $count=0, $page=0, $pagesize=0, $order=0, $limit = 0)
     {
         $Table_stock = new Table_stock();
-        return $Table_stock->getList($filter, $count, $page, $pagesize, $order);
+        return $Table_stock->getList($filter, $count, $page, $pagesize, $order, $limit);
     }
 
     static public function getAllList()