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
14c205ed
Commit
14c205ed
authored
Jul 08, 2020
by
赵建伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update codes
parent
8534bcdb
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
2 deletions
+5
-2
.DS_Store
.DS_Store
+0
-0
workspace.xml
lib/java/bi-report-service/.idea/workspace.xml
+2
-1
SparksqlServiceImpl.java
...data/gateway/server/service/impl/SparksqlServiceImpl.java
+3
-1
No files found.
.DS_Store
View file @
14c205ed
No preview for this file type
lib/java/bi-report-service/.idea/workspace.xml
View file @
14c205ed
...
...
@@ -70,7 +70,7 @@
<property
name=
"RunOnceActivity.ShowReadmeOnStart"
value=
"true"
/>
<property
name=
"WebServerToolWindowFactoryState"
value=
"false"
/>
<property
name=
"aspect.path.notification.shown"
value=
"true"
/>
<property
name=
"last_opened_file_path"
value=
"$PROJECT_DIR$
/service-client/shs
"
/>
<property
name=
"last_opened_file_path"
value=
"$PROJECT_DIR$"
/>
</component>
<component
name=
"RecentsManager"
>
<key
name=
"CopyFile.RECENT_KEYS"
>
...
...
@@ -199,6 +199,7 @@
<workItem
from=
"1592568026557"
duration=
"772000"
/>
<workItem
from=
"1593835574199"
duration=
"4438000"
/>
<workItem
from=
"1594091429524"
duration=
"3648000"
/>
<workItem
from=
"1594173992446"
duration=
"408000"
/>
</task>
<servers
/>
</component>
...
...
lib/java/bi-report-service/service-server/src/main/java/com/gmei/data/gateway/server/service/impl/SparksqlServiceImpl.java
View file @
14c205ed
...
...
@@ -103,7 +103,9 @@ public class SparksqlServiceImpl implements SparksqlService {
String
fileName
=
file
.
getName
();
String
nameStr
=
fileName
.
replace
(
".sql"
,
""
);
String
subject
=
""
;
String
value
=
ProperUtils
.
getValue
(
properBasePath
+
"pm/"
+
name
+
"/en-cn.properties"
,
nameStr
);
String
properPath
=
properBasePath
+
"pm/"
+
name
+
"/en-cn.properties"
;
logger
.
info
(
"属性文件目录为:{}"
,
properPath
);
String
value
=
ProperUtils
.
getValue
(
properPath
,
nameStr
);
if
(
null
!=
value
){
subject
=
value
;
}
else
{
...
...
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