lizhen_gitee 1 year ago
parent
commit
ff56fd13f7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Console/Commands/Plantask.php

+ 1 - 1
app/Console/Commands/Plantask.php

@@ -41,7 +41,7 @@ class Plantask extends Command
      */
     public function handle()
     {
-        $list = DB::table('hx_gift_user_party')->where('new_task_status',0)->orderBy('id','asc')->get()->toArray();
+        $list = DB::table('hx_gift_user_party')->where('new_task_status',0)->limit(10000)->orderBy('id','asc')->get()->toArray();
         //dd($list);
         //
         if(!empty($list)){