Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
Y
yzg-util
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
YZG
yzg-util
Commits
3540e3ae
Commit
3540e3ae
authored
Jun 02, 2021
by
yanzg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复Excel文件下载
parent
31cb0e53
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
ExportData.java
...il-db/src/main/java/com/yanzuoguang/excel/ExportData.java
+3
-4
No files found.
yzg-util-db/src/main/java/com/yanzuoguang/excel/ExportData.java
View file @
3540e3ae
...
...
@@ -43,7 +43,7 @@ public class ExportData {
*/
@ApiModelProperty
(
notes
=
"导出类型,0-实时导出,1-等待生成文件后下载(该类型需要请求多次:"
+
"第一次请求会返回导出路径,后续几次会返回正在生成中,并且返回文件的大小,当生成完成后最后一次会下载文件)"
,
required
=
true
)
private
int
E
xportType
;
private
int
e
xportType
;
/**
* 服务器保存路径
*/
...
...
@@ -101,13 +101,12 @@ public class ExportData {
@ApiModelProperty
(
notes
=
"包含列"
)
private
List
<
ExportColumn
>
columns
=
new
ArrayList
<>();
public
int
getExportType
()
{
return
E
xportType
;
return
e
xportType
;
}
public
void
setExportType
(
int
exportType
)
{
E
xportType
=
exportType
;
this
.
e
xportType
=
exportType
;
}
public
String
getServerPath
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment