import( (string) $this->argument('file'), max((int) $this->option('company'), 1), $this->option('user') !== null ? (int) $this->option('user') : null, ); } catch (Throwable $exception) { $this->error($exception->getMessage()); return self::FAILURE; } $this->info(sprintf( '工作表 %s:新增 %d 条,跳过已存在 %d 条。', $result['sheet'], $result['created'], $result['skipped'], )); return self::SUCCESS; } }