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
9a719ad6
Commit
9a719ad6
authored
Jun 21, 2020
by
魏艺敏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update codes
parent
724ebc17
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
daily_recommend_strategy.sql
sqls/daily_recommend_strategy/daily_recommend_strategy.sql
+2
-2
daily_recommend_strategy_insert.sql
...mmend_strategy_insert/daily_recommend_strategy_insert.sql
+1
-1
No files found.
sqls/daily_recommend_strategy/daily_recommend_strategy.sql
View file @
9a719ad6
...
...
@@ -20,4 +20,5 @@ SELECT
'未上线'
as
`来自I的转诊点击pv`
,
'未上线'
as
`来自I的视频面诊点击pv`
FROM
pm
.
tl_pm_recommend_strategy_d
WHERE
partition_day
>=
'20200101'
and
partition_day
<=
regexp_replace
(
DATE_SUB
(
current_date
,
1
)
,
'-'
,
''
)
\ No newline at end of file
WHERE
partition_day
>=
'20200619'
and
partition_day
<=
regexp_replace
(
DATE_SUB
(
current_date
,
1
)
,
'-'
,
''
)
order
by
`日期`
desc
,
`设备类型`
,
`活跃类型`
,
`卡片类型`
,
`推荐类型`
sqls/daily_recommend_strategy_insert/daily_recommend_strategy_insert.sql
View file @
9a719ad6
...
...
@@ -365,6 +365,6 @@ FROM
WHERE
spam_pv
.
device_id
IS
NULL
and
dev
.
device_id
is
null
GROUP
BY
t1
.
partition_date
,
t1
.
device_os_type
,
t1
.
active_type
,
t2
.
card_content_type
,
t2
.
recommend_type
order
by
day_id
desc
,
device_os_type
,
active_type
,
card_content_type
,
recommend_type
order
by
day_id
,
device_os_type
,
active_type
,
card_content_type
,
recommend_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