|
@@ -157,7 +157,7 @@ public class DataMigrationController {
|
|
|
response.setContentType("text/plain");
|
|
|
//设置文件的名称和格式
|
|
|
response.addHeader("Content-Disposition","attachment;filename="
|
|
|
- + genAttachmentFileName( context.getProjectId(), "JSON_FOR_UCC_")//设置名称格式,没有这个中文名称无法显示
|
|
|
+ + genAttachmentFileName(context.getProjectId()+"_迁移sql", "JSON_FOR_UCC_")//设置名称格式,没有这个中文名称无法显示
|
|
|
+ ".sql");
|
|
|
BufferedOutputStream buff = null;
|
|
|
ServletOutputStream outStr = null;
|