Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
map-parent
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
常超
map-parent
Commits
d9d21b1d
Commit
d9d21b1d
authored
Jul 12, 2021
by
Jbb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改上传Excel数据下载时的表头
parent
bb375d96
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
service/view/src/main/java/com/founder/view/controller/TbStLayerDataController.java
+4
-4
No files found.
service/view/src/main/java/com/founder/view/controller/TbStLayerDataController.java
View file @
d9d21b1d
...
...
@@ -176,10 +176,10 @@ public class TbStLayerDataController {
XSSFSheet
sheet
=
wb
.
createSheet
();
//给个标题头
XSSFRow
rowTitle
=
sheet
.
createRow
(
0
);
rowTitle
.
createCell
(
0
).
setCellValue
(
"
经度
"
);
rowTitle
.
createCell
(
1
).
setCellValue
(
"
纬度
"
);
rowTitle
.
createCell
(
2
).
setCellValue
(
"
标题
"
);
rowTitle
.
createCell
(
3
).
setCellValue
(
"
时间
"
);
rowTitle
.
createCell
(
0
).
setCellValue
(
"
X
"
);
rowTitle
.
createCell
(
1
).
setCellValue
(
"
Y
"
);
rowTitle
.
createCell
(
2
).
setCellValue
(
"
TITLE
"
);
rowTitle
.
createCell
(
3
).
setCellValue
(
"
TIME
"
);
for
(
int
i
=
0
;
i
<
pointList
.
size
();
i
++)
{
TbStLayerData
accidentPoint
=
pointList
.
get
(
i
);
String
title
=
accidentPoint
.
getTitle
();
...
...
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