Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
bi-report
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
data
bi-report
Commits
ab38785d
Commit
ab38785d
authored
Jun 22, 2020
by
赵建伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update codes
parent
bc1725fe
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
10 deletions
+23
-10
workspace.xml
.idea/workspace.xml
+21
-8
ExcelServiceImpl.java
...ei/data/gateway/server/service/impl/ExcelServiceImpl.java
+2
-2
No files found.
.idea/workspace.xml
View file @
ab38785d
<?xml version="1.0" encoding="UTF-8"?>
<project
version=
"4"
>
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"d5f48aa6-efd5-46e7-8592-d3409cf68c59"
name=
"Default Changelist"
comment=
""
>
<change
afterPath=
"$PROJECT_DIR$/lib/shell/hive.sh"
afterDir=
"false"
/>
</list>
<list
default=
"true"
id=
"d5f48aa6-efd5-46e7-8592-d3409cf68c59"
name=
"Default Changelist"
comment=
"add database name pm"
/>
<option
name=
"SHOW_DIALOG"
value=
"false"
/>
<option
name=
"HIGHLIGHT_CONFLICTS"
value=
"true"
/>
<option
name=
"HIGHLIGHT_NON_ACTIVE_CHANGELIST"
value=
"false"
/>
...
...
@@ -17,6 +15,20 @@
<executable
/>
</execution>
</component>
<component
name=
"DatabaseView"
>
<option
name=
"SHOW_INTERMEDIATE"
value=
"true"
/>
<option
name=
"GROUP_DATA_SOURCES"
value=
"true"
/>
<option
name=
"GROUP_SCHEMA"
value=
"true"
/>
<option
name=
"GROUP_CONTENTS"
value=
"false"
/>
<option
name=
"SORT_POSITIONED"
value=
"false"
/>
<option
name=
"SHOW_EMPTY_GROUPS"
value=
"false"
/>
<option
name=
"AUTO_SCROLL_FROM_SOURCE"
value=
"false"
/>
<option
name=
"HIDDEN_KINDS"
>
<set
/>
</option>
<expand
/>
<select
/>
</component>
<component
name=
"FavoritesManager"
>
<favorites_list
name=
"bi-report"
/>
</component>
...
...
@@ -84,7 +96,7 @@
<workItem
from=
"1591668557485"
duration=
"1164000"
/>
<workItem
from=
"1591757105976"
duration=
"605000"
/>
<workItem
from=
"1591843790575"
duration=
"598000"
/>
<workItem
from=
"1592568360803"
duration=
"
2738
000"
/>
<workItem
from=
"1592568360803"
duration=
"
5142
000"
/>
</task>
<option
name=
"localTasksCounter"
value=
"2"
/>
<servers
/>
...
...
@@ -97,14 +109,15 @@
<option
name=
"LAST_COMMIT_MESSAGE"
value=
"add database name pm"
/>
</component>
<component
name=
"WindowStateProjectService"
>
<state
x=
"554"
y=
"197"
key=
"CommitChangelistDialog2"
timestamp=
"15927974
76112
"
>
<state
x=
"554"
y=
"197"
key=
"CommitChangelistDialog2"
timestamp=
"15927974
95165
"
>
<screen
x=
"0"
y=
"22"
width=
"1920"
height=
"1129"
/>
</state>
<state
x=
"554"
y=
"197"
key=
"CommitChangelistDialog2/0.22.1920.1129/-981.-1200.1920.1200/939.-1080.1920.1080@0.22.1920.1129"
timestamp=
"15927974
76112
"
/>
<state
x=
"554"
y=
"197"
key=
"CommitChangelistDialog2/0.22.1920.1129/-981.-1200.1920.1200/939.-1080.1920.1080@0.22.1920.1129"
timestamp=
"15927974
95165
"
/>
<state
x=
"2306"
y=
"1378"
key=
"CommitChangelistDialog2/1752.1200.1920.1151/0.22.1920.1178/1920.120.1920.1080@1752.1200.1920.1151"
timestamp=
"1590736919071"
/>
<state
x=
"
2312"
y=
"1515"
key=
"Vcs.Push.Dialog.v2"
timestamp=
"159073692101
3"
>
<screen
x=
"
1752"
y=
"1200"
width=
"1920"
height=
"1151
"
/>
<state
x=
"
560"
y=
"331"
key=
"Vcs.Push.Dialog.v2"
timestamp=
"159280915098
3"
>
<screen
x=
"
0"
y=
"22"
width=
"1920"
height=
"1129
"
/>
</state>
<state
x=
"560"
y=
"331"
key=
"Vcs.Push.Dialog.v2/0.22.1920.1129/-981.-1200.1920.1200/939.-1080.1920.1080@0.22.1920.1129"
timestamp=
"1592809150983"
/>
<state
x=
"2312"
y=
"1515"
key=
"Vcs.Push.Dialog.v2/1752.1200.1920.1151/0.22.1920.1178/1920.120.1920.1080@1752.1200.1920.1151"
timestamp=
"1590736921013"
/>
<state
x=
"625"
y=
"385"
key=
"git4idea.merge.GitPullDialog"
timestamp=
"1591588719752"
>
<screen
x=
"0"
y=
"22"
width=
"1920"
height=
"1129"
/>
...
...
lib/java/bi-report-service/service-server/src/main/java/com/gmei/data/gateway/server/service/impl/ExcelServiceImpl.java
View file @
ab38785d
...
...
@@ -103,7 +103,7 @@ public class ExcelServiceImpl implements ExcelService {
XSSFRow
header
=
sheet
.
createRow
(
0
);
//设置sheet头部列宽
for
(
int
ii
=
0
;
ii
<
headers
.
size
();
ii
++){
sheet
.
setColumnWidth
(
ii
,
12
*
256
);
sheet
.
setColumnWidth
(
ii
,
20
*
256
);
}
//给sheet头部赋值以及设置样式
Integer
columIndex
=
0
;
...
...
@@ -118,7 +118,7 @@ public class ExcelServiceImpl implements ExcelService {
XSSFRow
hssfRow
=
sheet
.
createRow
(
rowIndex
);
//设置单元格长度
for
(
int
ii
=
0
;
ii
<
row
.
size
();
ii
++){
sheet
.
setColumnWidth
(
ii
,
12
*
256
);
sheet
.
setColumnWidth
(
ii
,
20
*
256
);
}
//依次给单元格赋值
Integer
j
=
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