lizhen_gitee 1 rok pred
rodič
commit
ff56fd13f7
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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)){