id = $gid; } /** * Execute the job. * * @return void */ public function handle() { if (!Good::where('id', $this->id)->whereColumn('number', 'trace_count')->exists()) { \Artisan::call("generate:key", ['gid' => $this->id]); } } }