Commit 3540e3ae authored by yanzg's avatar yanzg

修复Excel文件下载

parent 31cb0e53
...@@ -43,7 +43,7 @@ public class ExportData { ...@@ -43,7 +43,7 @@ public class ExportData {
*/ */
@ApiModelProperty(notes = "导出类型,0-实时导出,1-等待生成文件后下载(该类型需要请求多次:" + @ApiModelProperty(notes = "导出类型,0-实时导出,1-等待生成文件后下载(该类型需要请求多次:" +
"第一次请求会返回导出路径,后续几次会返回正在生成中,并且返回文件的大小,当生成完成后最后一次会下载文件)", required = true) "第一次请求会返回导出路径,后续几次会返回正在生成中,并且返回文件的大小,当生成完成后最后一次会下载文件)", required = true)
private int ExportType; private int exportType;
/** /**
* 服务器保存路径 * 服务器保存路径
*/ */
...@@ -101,13 +101,12 @@ public class ExportData { ...@@ -101,13 +101,12 @@ public class ExportData {
@ApiModelProperty(notes = "包含列") @ApiModelProperty(notes = "包含列")
private List<ExportColumn> columns = new ArrayList<>(); private List<ExportColumn> columns = new ArrayList<>();
public int getExportType() { public int getExportType() {
return ExportType; return exportType;
} }
public void setExportType(int exportType) { public void setExportType(int exportType) {
ExportType = exportType; this.exportType = exportType;
} }
public String getServerPath() { public String getServerPath() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment