Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dsk-operate-sys-cscec
Project
Project
Details
Activity
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
fulixin
dsk-operate-sys-cscec
Commits
4c9b6f4f
Commit
4c9b6f4f
authored
Dec 19, 2023
by
liuChang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
导出
parent
19e5c068
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
ExportService.java
...i/src/main/java/com/dsk/search/service/ExportService.java
+3
-2
No files found.
dsk-module/dsk-biz-api/src/main/java/com/dsk/search/service/ExportService.java
View file @
4c9b6f4f
...
...
@@ -57,7 +57,8 @@ public class ExportService {
SimpleDateFormat
sdf
=
new
SimpleDateFormat
(
"yyyyMMdd"
);
String
dayformat
=
sdf
.
format
(
new
Date
());
SysUserFileRecord
fileRecord
=
new
SysUserFileRecord
();
fileRecord
.
setFileName
(
"供应商资质批量查询"
.
concat
(
dayformat
).
concat
(
Constants
.
SUFFIX_XLSX
));
String
fileName
=
"供应商资质批量查询"
.
concat
(
dayformat
).
concat
(
Constants
.
SUFFIX_XLSX
);
fileRecord
.
setFileName
(
fileName
);
fileRecord
.
setType
(
1
);
//生成中
fileRecord
.
setStatus
(
2
);
...
...
@@ -66,7 +67,7 @@ public class ExportService {
composeQueryDto
.
setExportUniqueCode
(
fileId
.
toString
());
//回调函数
composeQueryDto
.
setExportBackUrl
(
EXPORT_BACK_URL
);
composeQueryDto
.
setExportExeclName
(
"供应商资质批量查询"
+
dayformat
+
".xlsx"
);
composeQueryDto
.
setExportExeclName
(
fileName
);
dskOpenApiUtil
.
requestBody
(
"/operate/export/zjyj/aptitude"
,
BeanUtil
.
beanToMap
(
composeQueryDto
,
false
,
false
));
return
AjaxResult
.
success
();
}
...
...
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