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
07aa6696
Commit
07aa6696
authored
Jul 04, 2020
by
赵建伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update codes
parent
d70555b8
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
29 deletions
+7
-29
workspace.xml
lib/java/bi-report-service/.idea/workspace.xml
+2
-24
SparksqlServiceImpl.java
...data/gateway/server/service/impl/SparksqlServiceImpl.java
+5
-5
daily_recommend_strategy.zip
pm/daily_recommend_strategy/job/daily_recommend_strategy.zip
+0
-0
No files found.
lib/java/bi-report-service/.idea/workspace.xml
View file @
07aa6696
...
@@ -2,29 +2,7 @@
...
@@ -2,29 +2,7 @@
<project
version=
"4"
>
<project
version=
"4"
>
<component
name=
"ChangeListManager"
>
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"4ef7a995-babe-48ad-a058-4897dd73703a"
name=
"Default Changelist"
comment=
""
>
<list
default=
"true"
id=
"4ef7a995-babe-48ad-a058-4897dd73703a"
name=
"Default Changelist"
comment=
""
>
<change
afterPath=
"$PROJECT_DIR$/../../../pm/daily_recommend_strategy/etl/daily_recommend_strategy.sql"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/../../../pm/daily_recommend_strategy/job/daily_recommend_strategy.zip"
beforeDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/../../../pm/daily_content_data/en-cn.properties"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/../../../pm/daily_recommend_strategy/en-cn.properties"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/../../../pm/daily_content_data/etl/create_daily_content_data.sql"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/../../../pm/daily_recommend_strategy/etl/create_daily_recommend_strategy.sql"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/../../../pm/daily_content_data/etl/daily_content_data.sql"
beforeDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/../../../pm/daily_content_data/job/daily_content_data.zip"
beforeDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/../../../pm/daily_content_data/job/step1_1.job"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/../../../pm/daily_recommend_strategy/job/step1_1.job"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/../../../pm/daily_content_data/job/step1_10.job"
beforeDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/../../../pm/daily_content_data/job/step1_11.job"
beforeDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/../../../pm/daily_content_data/job/step1_12.job"
beforeDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/../../../pm/daily_content_data/job/step1_13.job"
beforeDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/../../../pm/daily_content_data/job/step1_2.job"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/../../../pm/daily_recommend_strategy/job/step1_2.job"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/../../../pm/daily_content_data/job/step1_3.job"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/../../../pm/daily_recommend_strategy/job/step1_3.job"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/../../../pm/daily_content_data/job/step1_4.job"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/../../../pm/daily_recommend_strategy/job/step1_4.job"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/../../../pm/daily_content_data/job/step1_5.job"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/../../../pm/daily_recommend_strategy/job/step1_5.job"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/../../../pm/daily_content_data/job/step1_6.job"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/../../../pm/daily_recommend_strategy/job/step1_6.job"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/../../../pm/daily_content_data/job/step1_7.job"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/../../../pm/daily_recommend_strategy/job/step1_7.job"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/../../../pm/daily_content_data/job/step1_8.job"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/../../../pm/daily_recommend_strategy/job/step1_8.job"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/../../../pm/daily_content_data/job/step1_9.job"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/../../../pm/daily_recommend_strategy/job/step1_9.job"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/../../../pm/daily_content_data/job/step2.job"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/../../../pm/daily_recommend_strategy/job/step2.job"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/../../../pm/daily_content_data/job/step3.job"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/../../../pm/daily_recommend_strategy/job/step3.job"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/../../../pm/daily_content_data/readme.txt"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/../../../pm/daily_recommend_strategy/readme.txt"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/../../../pm/daily_content_data/report/select_daily_content_data.sql"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/../../../pm/daily_recommend_strategy/report/select_daily_recommend_strategy.sql"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/../../../readme.txt"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/../../../readme.txt"
afterDir=
"false"
/>
</list>
</list>
<option
name=
"SHOW_DIALOG"
value=
"false"
/>
<option
name=
"SHOW_DIALOG"
value=
"false"
/>
<option
name=
"HIGHLIGHT_CONFLICTS"
value=
"true"
/>
<option
name=
"HIGHLIGHT_CONFLICTS"
value=
"true"
/>
...
@@ -204,7 +182,7 @@
...
@@ -204,7 +182,7 @@
<workItem
from=
"1591668349091"
duration=
"1455000"
/>
<workItem
from=
"1591668349091"
duration=
"1455000"
/>
<workItem
from=
"1592214013610"
duration=
"2379000"
/>
<workItem
from=
"1592214013610"
duration=
"2379000"
/>
<workItem
from=
"1592568026557"
duration=
"772000"
/>
<workItem
from=
"1592568026557"
duration=
"772000"
/>
<workItem
from=
"1593835574199"
duration=
"
3629
000"
/>
<workItem
from=
"1593835574199"
duration=
"
4438
000"
/>
</task>
</task>
<servers
/>
<servers
/>
</component>
</component>
...
...
lib/java/bi-report-service/service-server/src/main/java/com/gmei/data/gateway/server/service/impl/SparksqlServiceImpl.java
View file @
07aa6696
...
@@ -138,11 +138,11 @@ public class SparksqlServiceImpl implements SparksqlService {
...
@@ -138,11 +138,11 @@ public class SparksqlServiceImpl implements SparksqlService {
}
}
}
}
String
hql
=
sbf
.
toString
();
String
hql
=
sbf
.
toString
();
hql
=
hql
.
replace
All
(
"${partition_date}"
,
String
.
format
(
"'%s'"
,
DateUtils
.
getYesterdayDateSimpleStr
()))
hql
=
hql
.
replace
(
"${partition_date}"
,
String
.
format
(
"'%s'"
,
DateUtils
.
getYesterdayDateSimpleStr
()))
.
replace
All
(
"${partition_day}"
,
String
.
format
(
"'%s'"
,
DateUtils
.
getYesterdayDateSimpleStr
()))
.
replace
(
"${partition_day}"
,
String
.
format
(
"'%s'"
,
DateUtils
.
getYesterdayDateSimpleStr
()))
.
replace
All
(
"$partition_date"
,
String
.
format
(
"'%s'"
,
DateUtils
.
getYesterdayDateSimpleStr
()))
.
replace
(
"$partition_date"
,
String
.
format
(
"'%s'"
,
DateUtils
.
getYesterdayDateSimpleStr
()))
.
replace
All
(
"$partition_day"
,
String
.
format
(
"'%s'"
,
DateUtils
.
getYesterdayDateSimpleStr
()))
.
replace
(
"$partition_day"
,
String
.
format
(
"'%s'"
,
DateUtils
.
getYesterdayDateSimpleStr
()))
.
replace
All
(
";"
,
""
);
.
replace
(
";"
,
""
);
Connection
conn
=
null
;
Connection
conn
=
null
;
try
{
try
{
conn
=
DriverManager
.
getConnection
(
sparkSqlJdbcUrl
,
"data"
,
""
);
conn
=
DriverManager
.
getConnection
(
sparkSqlJdbcUrl
,
"data"
,
""
);
...
...
pm/daily_recommend_strategy/job/daily_recommend_strategy.zip
View file @
07aa6696
No preview for this file type
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