public function actionExportDrawWinners($id)
 {
     $accountId = $this->getAccountId();
     $condition = ['accountId' => $accountId, 'drawRecordId' => new \MongoId($id)];
     $result = EarlyBirdWinner::find()->where($condition)->one();
     if (!empty($result)) {
         $key = '早鳥活動抽獎結果記錄表_' . date('YmdHis');
         $condition = serialize($condition);
         $header = ['prizeLevel' => '獎項', 'mobile' => '手機號碼', 'name' => '姓名', 'prizeName' => '獎品名稱', 'exchangeGoodsScore' => '總兌換積分', 'createdAt' => '抽獎時間'];
         $exportArgs = ['key' => $key, 'header' => $header, 'accountId' => (string) $accountId, 'condition' => $condition, 'description' => 'Direct: export early bird winners'];
         $jobId = Yii::$app->job->create('backend\\modules\\uhkklp\\job\\ExportEarlyBirdWinners', $exportArgs);
         return ['result' => 'success', 'message' => 'exporting file', 'data' => ['jobId' => $jobId, 'key' => $key]];
     } else {
         LogUtil::error(['message' => '导出早鳥活動抽獎結果記錄表失败', 'reason' => '没有数据(no data)', 'condition' => $condition], 'earlybird');
         return ['result' => 'error', 'message' => 'no datas', 'data' => []];
     }
 }