소스 검색

去掉分页

liugc 1 년 전
부모
커밋
6915a91c3d
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      app/workerapi/lists/MasterWorkerAccountLogLists.php
  2. 1 1
      app/workerapi/lists/MasterWorkerCaseOutLogLists.php

+ 1 - 1
app/workerapi/lists/MasterWorkerAccountLogLists.php

@@ -33,7 +33,7 @@ class MasterWorkerAccountLogLists extends BaseWorkerDataLists
             ->field('sn,title,change_type,action,work_sn,change_amount,create_time')
             ->order(['id' => 'dasc'])
             ->append(['action_text'])
-            ->limit($this->limitOffset, $this->limitLength)
+            //->limit($this->limitOffset, $this->limitLength)
             ->order(['create_time' => 'desc'])//时间排序
             ->select()
             ->toArray();

+ 1 - 1
app/workerapi/lists/MasterWorkerCaseOutLogLists.php

@@ -28,7 +28,7 @@ class MasterWorkerCaseOutLogLists extends BaseWorkerDataLists
             ->where($this->queryWhere())
             ->field('sn,title,change_amount,review_status,create_time')
             ->append(['review_status_text'])
-            ->limit($this->limitOffset, $this->limitLength)
+            //->limit($this->limitOffset, $this->limitLength)
             ->order(['id' => 'desc'])
             ->select()
             ->toArray();