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
8fd66f59
Commit
8fd66f59
authored
Dec 14, 2023
by
liuChang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
导出
parent
982466bc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
ExportService.java
...i/src/main/java/com/dsk/search/service/ExportService.java
+6
-6
No files found.
dsk-module/dsk-biz-api/src/main/java/com/dsk/search/service/ExportService.java
View file @
8fd66f59
...
@@ -21,10 +21,8 @@ import org.springframework.stereotype.Service;
...
@@ -21,10 +21,8 @@ import org.springframework.stereotype.Service;
import
org.springframework.web.multipart.MultipartFile
;
import
org.springframework.web.multipart.MultipartFile
;
import
java.io.IOException
;
import
java.io.IOException
;
import
java.util.ArrayList
;
import
java.text.SimpleDateFormat
;
import
java.util.HashMap
;
import
java.util.*
;
import
java.util.List
;
import
java.util.Map
;
/**
/**
* @Author lc
* @Author lc
...
@@ -66,8 +64,10 @@ public class ExportService {
...
@@ -66,8 +64,10 @@ public class ExportService {
composeQueryDto
.
setExportUniqueCode
(
fileId
.
toString
());
composeQueryDto
.
setExportUniqueCode
(
fileId
.
toString
());
//回调函数
//回调函数
composeQueryDto
.
setExportBackUrl
(
EXPORT_BACK_URL
);
composeQueryDto
.
setExportBackUrl
(
EXPORT_BACK_URL
);
composeQueryDto
.
setExportExeclName
(
"资质批量导出.xlsx"
);
SimpleDateFormat
sdf
=
new
SimpleDateFormat
(
"yyyyMMdd"
);
dskOpenApiUtil
.
requestBody
(
"/nationzj/marketAnalysis/areaGroupByProvince"
,
BeanUtil
.
beanToMap
(
composeQueryDto
,
false
,
false
));
String
dayformat
=
sdf
.
format
(
new
Date
());
composeQueryDto
.
setExportExeclName
(
"供应商资质批量查询"
+
dayformat
+
".xlsx"
);
dskOpenApiUtil
.
requestBody
(
"/operate/export/zjyj/aptitude"
,
BeanUtil
.
beanToMap
(
composeQueryDto
,
false
,
false
));
return
AjaxResult
.
success
();
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