Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-cloud
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
data-hook
gic-cloud
Commits
d111d443
Commit
d111d443
authored
Jun 07, 2022
by
fudahua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:自定义查询zip测试
parent
39d6eb99
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
.flattened-pom.xml
gic-cloud-data-hook-api/.flattened-pom.xml
+4
-4
FreeQueryServiceImpl.java
...ic/cloud/data/hook/service/impl/FreeQueryServiceImpl.java
+1
-1
No files found.
gic-cloud-data-hook-api/.flattened-pom.xml
View file @
d111d443
...
...
@@ -4,12 +4,12 @@
<modelVersion>
4.0.0
</modelVersion>
<groupId>
com.gic
</groupId>
<artifactId>
gic-cloud-data-hook-api
</artifactId>
<version>
2.38
</version>
<version>
3.0-SNAPSHOT
</version>
<dependencies>
<dependency>
<groupId>
com.gic
</groupId>
<artifactId>
gic-cloud-web-service-api
</artifactId>
<version>
3.
80
</version>
<version>
3.
0-SNAPSHOT
</version>
<scope>
compile
</scope>
<exclusions>
<exclusion>
...
...
@@ -25,7 +25,7 @@
<dependency>
<groupId>
com.gic
</groupId>
<artifactId>
gic-cloud-commons
</artifactId>
<version>
3.
64
</version>
<version>
3.
0-SNAPSHOT
</version>
<scope>
compile
</scope>
<exclusions>
<exclusion>
...
...
@@ -41,7 +41,7 @@
<dependency>
<groupId>
com.gic
</groupId>
<artifactId>
gic-platform-config
</artifactId>
<version>
2.25
</version>
<version>
3.0-SNAPSHOT
</version>
<scope>
compile
</scope>
</dependency>
<dependency>
...
...
gic-cloud-data-hook-service/src/main/java/com/gic/cloud/data/hook/service/impl/FreeQueryServiceImpl.java
View file @
d111d443
...
...
@@ -594,7 +594,7 @@ public class FreeQueryServiceImpl implements IFreeQueryService {
private
void
saveXlsx
(
FreeQueryTaskCondition
condition
,
String
originalFilePath
,
ResultSet
rs
,
DownloadTask
task
)
throws
Exception
{
Integer
limitSize
=
FileUtil
.
getLimitSize
();
originalFilePath
=
SAVE_FOLDER
+
"/"
+
condition
.
getTaskId
()
+
".xlsx"
;
//
originalFilePath = SAVE_FOLDER + "/" + condition.getTaskId() + ".xlsx";
SXSSFWorkbook
wb
=
new
SXSSFWorkbook
(
100
);
// 内存中保留 100 行
Sheet
sheet
=
wb
.
createSheet
();
Row
row
=
sheet
.
createRow
(
0
);
...
...
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