Browse Source

待办已办列表优化

wufeng 2 years ago
parent
commit
7182fac3a2
1 changed files with 2 additions and 3 deletions
  1. 2 3
      app/admin/controller/Proorder.php

+ 2 - 3
app/admin/controller/Proorder.php

@@ -76,10 +76,9 @@ public function waitlist(){
         ->where($where)
         ->where($comd)
         ->page($page,$size)
-        ->fetchSql()
         ->order("a.addtime desc")
-        ->select();
-    
+        ->cursor();
+
     $data=[];//->field("status,order_name,process_name")
     foreach ($list as $value) {
         $str = Db::name("process")->where(['process_type' => $value['order_type']])->field("process_name,status")->find();