作者 刘锟

update

@@ -61,7 +61,7 @@ class EmergencyResultExport extends Command @@ -61,7 +61,7 @@ class EmergencyResultExport extends Command
61 $table = new BatchExportService("项目站点恢复结果导出"); 61 $table = new BatchExportService("项目站点恢复结果导出");
62 $file = $table->head($map)->data($data)->save(); 62 $file = $table->head($map)->data($data)->save();
63 if (!$file) { 63 if (!$file) {
64 - throw new \Exception('文件生成失败,请重试'); 64 + $this->output('文件生成失败,请重试');
65 } 65 }
66 66
67 $this->output('export success'); 67 $this->output('export success');