Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-enterprise-base
Overview
Overview
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
base_platform_enterprise
gic-enterprise-base
Commits
fe52e528
Commit
fe52e528
authored
Jun 09, 2021
by
陶光胜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
报表中心调整
parent
b5c8a828
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletions
+6
-1
DownloadUtils.java
...d/src/main/java/com/gic/download/utils/DownloadUtils.java
+6
-1
No files found.
gic-enterprise-download/src/main/java/com/gic/download/utils/DownloadUtils.java
View file @
fe52e528
...
@@ -233,7 +233,9 @@ public class DownloadUtils {
...
@@ -233,7 +233,9 @@ public class DownloadUtils {
private
<
T
>
void
downloadCommon
(
DownloadExcelQO
param
,
DownloadDataLoader
<
T
>
loader
)
throws
Exception
{
private
<
T
>
void
downloadCommon
(
DownloadExcelQO
param
,
DownloadDataLoader
<
T
>
loader
)
throws
Exception
{
LOGGER
.
info
(
"下载导出数据参数:{}"
,
JSON
.
toJSONString
(
param
,
SerializerFeature
.
WriteMapNullValue
));
LOGGER
.
info
(
"下载导出数据参数:{}"
,
JSON
.
toJSONString
(
param
,
SerializerFeature
.
WriteMapNullValue
));
LOGGER
.
info
(
"start send heart :{}"
,
param
.
getReportId
());
sendHeart
(
param
.
getReportId
());
LOGGER
.
info
(
"end send heart :{}"
,
param
.
getReportId
());
Integer
reportId
=
param
.
getReportId
();
Integer
reportId
=
param
.
getReportId
();
String
fileName
=
param
.
getFileName
();
String
fileName
=
param
.
getFileName
();
Integer
excelExtensionCode
=
param
.
getExcelExtensionCode
();
Integer
excelExtensionCode
=
param
.
getExcelExtensionCode
();
...
@@ -411,7 +413,10 @@ public class DownloadUtils {
...
@@ -411,7 +413,10 @@ public class DownloadUtils {
int
maxLength
=
102400
;
int
maxLength
=
102400
;
while
(
maxLength
--
>
0
)
{
while
(
maxLength
--
>
0
)
{
//每次获取数据都进行心跳包发送
//每次获取数据都进行心跳包发送
LOGGER
.
info
(
"获取数据 start send heart :{}"
,
reportId
);
sendHeart
(
reportId
);
sendHeart
(
reportId
);
LOGGER
.
info
(
"获取数据 end send heart :{}"
,
reportId
);
// 分页获取数据
// 分页获取数据
List
<
T
>
objList
=
null
;
List
<
T
>
objList
=
null
;
try
{
try
{
...
...
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