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
d9c9fecb
Commit
d9c9fecb
authored
Jun 02, 2021
by
yanzg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
分布式幂等性判断
parent
450b6128
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
1 deletion
+31
-1
ExportBase.java
...il-db/src/main/java/com/yanzuoguang/excel/ExportBase.java
+31
-1
No files found.
yzg-util-db/src/main/java/com/yanzuoguang/excel/ExportBase.java
View file @
d9c9fecb
package
com
.
yanzuoguang
.
excel
;
package
com
.
yanzuoguang
.
excel
;
import
com.yanzuoguang.util.vo.BaseVo
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
io.swagger.annotations.ApiModelProperty
;
...
@@ -10,7 +11,20 @@ import io.swagger.annotations.ApiModelProperty;
...
@@ -10,7 +11,20 @@ import io.swagger.annotations.ApiModelProperty;
* @author 颜佐光
* @author 颜佐光
*/
*/
@ApiModel
(
description
=
"订单导出基本请求信息"
)
@ApiModel
(
description
=
"订单导出基本请求信息"
)
public
class
ExportBase
<
T
extends
Object
>
{
public
class
ExportBase
<
T
extends
Object
>
extends
BaseVo
{
/**
* 导出类型,0-实时导出,1-等待生成文件后下载(该类型需要请求多次:
* 第一次请求会返回导出路径,后续几次会返回正在生成中,并且返回文件的大小,当生成完成后最后一次会下载文件)
*/
@ApiModelProperty
(
notes
=
"导出类型,0-实时导出,1-等待生成文件后下载(该类型需要请求多次:"
+
"第一次请求会返回导出路径,后续几次会返回正在生成中,并且返回文件的大小,当生成完成后最后一次会下载文件)"
,
required
=
true
)
private
int
ExportType
;
/**
* 导出下载文件的服务器路径、第一次导出不需要传。在到处类型为1时有效
*/
@ApiModelProperty
(
notes
=
"导出下载文件的服务器路径、第一次导出不需要传。在到处类型为1时有效"
)
private
String
ExportPath
;
/**
/**
* 导出格式
* 导出格式
*/
*/
...
@@ -22,6 +36,22 @@ public class ExportBase<T extends Object> {
...
@@ -22,6 +36,22 @@ public class ExportBase<T extends Object> {
@ApiModelProperty
(
notes
=
"查询条件"
,
required
=
true
)
@ApiModelProperty
(
notes
=
"查询条件"
,
required
=
true
)
private
T
cond
;
private
T
cond
;
public
int
getExportType
()
{
return
ExportType
;
}
public
void
setExportType
(
int
exportType
)
{
ExportType
=
exportType
;
}
public
String
getExportPath
()
{
return
ExportPath
;
}
public
void
setExportPath
(
String
exportPath
)
{
ExportPath
=
exportPath
;
}
public
ExportData
getConfig
()
{
public
ExportData
getConfig
()
{
return
config
;
return
config
;
}
}
...
...
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