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
d5bc9430
Commit
d5bc9430
authored
Apr 30, 2020
by
赵建伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update codes
parent
ca286705
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
13 deletions
+12
-13
workspace.xml
.idea/workspace.xml
+1
-1
workspace.xml
lib/java/bi-report-service/.idea/workspace.xml
+10
-10
SparksqlServiceImpl.java
...data/gateway/server/service/impl/SparksqlServiceImpl.java
+1
-2
No files found.
.idea/workspace.xml
View file @
d5bc9430
...
...
@@ -118,7 +118,7 @@
<workItem
from=
"1587982524517"
duration=
"5052000"
/>
<workItem
from=
"1588152481879"
duration=
"139000"
/>
<workItem
from=
"1588154352798"
duration=
"195000"
/>
<workItem
from=
"1588220085338"
duration=
"5
469
000"
/>
<workItem
from=
"1588220085338"
duration=
"5
973
000"
/>
</task>
<task
id=
"LOCAL-00001"
summary=
"add init codes."
>
<created>
1587723565207
</created>
...
...
lib/java/bi-report-service/.idea/workspace.xml
View file @
d5bc9430
...
...
@@ -79,9 +79,9 @@
</component>
<component
name=
"RunAnythingCache"
>
<option
name=
"myCommands"
>
<command
value=
"mvn clean"
/>
<command
value=
"mvn clean install"
/>
<command
value=
"mvn clean install -DskipTests"
/>
<command
value=
"mvn clean"
/>
</option>
</component>
<component
name=
"RunManager"
selected=
"JUnit.SparksqlServiceTest"
>
...
...
@@ -215,7 +215,7 @@
<workItem
from=
"1584945647680"
duration=
"4469000"
/>
<workItem
from=
"1588148891822"
duration=
"2318000"
/>
<workItem
from=
"1588152718016"
duration=
"1463000"
/>
<workItem
from=
"1588154601852"
duration=
"18
346
000"
/>
<workItem
from=
"1588154601852"
duration=
"18
998
000"
/>
</task>
<servers
/>
</component>
...
...
@@ -284,26 +284,26 @@
</state>
<state
x=
"553"
y=
"153"
key=
"CommitChangelistDialog2/246.1080.1920.1151/0.22.1920.1058@0.22.1920.1058"
timestamp=
"1584956237641"
/>
<state
x=
"784"
y=
"1223"
key=
"CommitChangelistDialog2/246.1080.1920.1151/0.22.1920.1058@246.1080.1920.1151"
timestamp=
"1588154132365"
/>
<state
width=
"1878"
height=
"244"
key=
"GridCell.Tab.0.bottom"
timestamp=
"1588234
705846
"
>
<state
width=
"1878"
height=
"244"
key=
"GridCell.Tab.0.bottom"
timestamp=
"1588234
844753
"
>
<screen
x=
"246"
y=
"1080"
width=
"1920"
height=
"1151"
/>
</state>
<state
width=
"1878"
height=
"321"
key=
"GridCell.Tab.0.bottom/246.1080.1920.1151/0.22.1920.1058@0.22.1920.1058"
timestamp=
"1584688137007"
/>
<state
width=
"1878"
height=
"244"
key=
"GridCell.Tab.0.bottom/246.1080.1920.1151/0.22.1920.1058@246.1080.1920.1151"
timestamp=
"1588234
705846
"
/>
<state
width=
"1878"
height=
"244"
key=
"GridCell.Tab.0.center"
timestamp=
"1588234
705845
"
>
<state
width=
"1878"
height=
"244"
key=
"GridCell.Tab.0.bottom/246.1080.1920.1151/0.22.1920.1058@246.1080.1920.1151"
timestamp=
"1588234
844753
"
/>
<state
width=
"1878"
height=
"244"
key=
"GridCell.Tab.0.center"
timestamp=
"1588234
844751
"
>
<screen
x=
"246"
y=
"1080"
width=
"1920"
height=
"1151"
/>
</state>
<state
width=
"1878"
height=
"321"
key=
"GridCell.Tab.0.center/246.1080.1920.1151/0.22.1920.1058@0.22.1920.1058"
timestamp=
"1584688137005"
/>
<state
width=
"1878"
height=
"244"
key=
"GridCell.Tab.0.center/246.1080.1920.1151/0.22.1920.1058@246.1080.1920.1151"
timestamp=
"1588234
705845
"
/>
<state
width=
"1878"
height=
"244"
key=
"GridCell.Tab.0.left"
timestamp=
"1588234
705844
"
>
<state
width=
"1878"
height=
"244"
key=
"GridCell.Tab.0.center/246.1080.1920.1151/0.22.1920.1058@246.1080.1920.1151"
timestamp=
"1588234
844751
"
/>
<state
width=
"1878"
height=
"244"
key=
"GridCell.Tab.0.left"
timestamp=
"1588234
844751
"
>
<screen
x=
"246"
y=
"1080"
width=
"1920"
height=
"1151"
/>
</state>
<state
width=
"1878"
height=
"321"
key=
"GridCell.Tab.0.left/246.1080.1920.1151/0.22.1920.1058@0.22.1920.1058"
timestamp=
"1584688137005"
/>
<state
width=
"1878"
height=
"244"
key=
"GridCell.Tab.0.left/246.1080.1920.1151/0.22.1920.1058@246.1080.1920.1151"
timestamp=
"1588234
705844
"
/>
<state
width=
"1878"
height=
"244"
key=
"GridCell.Tab.0.right"
timestamp=
"1588234
705846
"
>
<state
width=
"1878"
height=
"244"
key=
"GridCell.Tab.0.left/246.1080.1920.1151/0.22.1920.1058@246.1080.1920.1151"
timestamp=
"1588234
844751
"
/>
<state
width=
"1878"
height=
"244"
key=
"GridCell.Tab.0.right"
timestamp=
"1588234
844752
"
>
<screen
x=
"246"
y=
"1080"
width=
"1920"
height=
"1151"
/>
</state>
<state
width=
"1878"
height=
"321"
key=
"GridCell.Tab.0.right/246.1080.1920.1151/0.22.1920.1058@0.22.1920.1058"
timestamp=
"1584688137006"
/>
<state
width=
"1878"
height=
"244"
key=
"GridCell.Tab.0.right/246.1080.1920.1151/0.22.1920.1058@246.1080.1920.1151"
timestamp=
"1588234
705846
"
/>
<state
width=
"1878"
height=
"244"
key=
"GridCell.Tab.0.right/246.1080.1920.1151/0.22.1920.1058@246.1080.1920.1151"
timestamp=
"1588234
844752
"
/>
<state
width=
"1878"
height=
"319"
key=
"GridCell.Tab.1.bottom"
timestamp=
"1588216559611"
>
<screen
x=
"246"
y=
"1080"
width=
"1920"
height=
"1151"
/>
</state>
...
...
lib/java/bi-report-service/service-server/src/main/java/com/gmei/data/gateway/server/service/impl/SparksqlServiceImpl.java
View file @
d5bc9430
...
...
@@ -32,7 +32,6 @@ public class SparksqlServiceImpl implements SparksqlService {
@Override
public
ExcelGenDto
getResultDto
(
String
name
){
ExcelGenDto
excelGenDto
=
null
;
List
<
String
>
sheetNameList
=
new
ArrayList
<
String
>();
List
<
List
<
String
>>
headersList
=
new
ArrayList
<
List
<
String
>>();
List
<
List
<
List
>>
rowsList
=
new
ArrayList
<
List
<
List
>>();
...
...
@@ -52,7 +51,7 @@ public class SparksqlServiceImpl implements SparksqlService {
reader
=
new
BufferedReader
(
new
FileReader
(
file
));
String
tempStr
;
while
((
tempStr
=
reader
.
readLine
())
!=
null
)
{
sbf
.
append
(
tempStr
);
sbf
.
append
(
"\n"
).
append
(
tempStr
);
}
reader
.
close
();
}
catch
(
IOException
e
)
{
...
...
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