Commit 2e27cc0c authored by 魏艺敏's avatar 魏艺敏

push codes

parent 0123fbe1
#step3.job #step3.job
type=command type=command
dependencies=step2 dependencies=step2
command=curl -X GET http://localhost:8553/api/report/email/daily_recommend_strategy/liudi@igengmei.com,wangxin@igengmei.com,liweirui@igengmei.com,duanyingrong@igengmei.com,xuepengfei@igengmei.com,dengguangyu@igengmei.com,zhaowei@igengmei.com,songke@igengmei.com/zhaofei@igengmei.com,yindanlei@igengmei.com,weiyimin@igengmei.com command=curl -X GET http://localhost:8553/api/report/email/daily_recommend_strategy/weiyimin@igengmei.com/yindanlei@igengmei.com
\ No newline at end of file \ No newline at end of file
...@@ -2,23 +2,18 @@ SELECT ...@@ -2,23 +2,18 @@ SELECT
day_id as `日期`, day_id as `日期`,
device_os_type as `设备类型`, device_os_type as `设备类型`,
active_type as `活跃类型`, active_type as `活跃类型`,
grey_type as `灰度类型`, grey_type as `灰度`,
page_name as `页面名称`, page_name as `页面`,
NVL(CONCAT(ROUND((navbar_search+highlight_word+self_welfare_card+recommend_welfare_card+recommend_content_card*0.2+transfer_card+video_consultation)/card_exposure*100,2),'%'),0) as `来自首页推荐内容卡片的的有效二跳pv/首页卡片精准曝光PV`, NVL(CONCAT(ROUND(wel_click_pv/wel_exp_pv*100,2),'%'),0) as `内容页你可能喜欢美购卡片点击PV/该类卡片曝光PV`,
NVL(CONCAT(ROUND(card_click/card_exposure*100,2),'%'),0) as `首页卡片点击PV/首页卡片精准曝光PV`, NVL(CONCAT(ROUND(content_click_pv/content_exp_pv*100,2),'%'),0) as `内容页你可能喜欢内容卡片点击PV/该类卡片曝光PV`,
NVL(CONCAT(ROUND((navbar_search+highlight_word+self_welfare_card+recommend_welfare_card+recommend_content_card*0.2+transfer_card+video_consultation)/card_click*100,2),'%'),0) as `来自首页推荐内容卡片的的有效二跳pv/首页卡片点击PV`, content_pv as `内容详情页pv`,
card_click as `首页卡片点击PV`, content_uv as `内容详情页uv`,
card_exposure as `首页卡片精准曝光PV`, wel_exp_pv as `你可能喜欢美购卡片曝光pv`,
(navbar_search+highlight_word+self_welfare_card+recommend_welfare_card+recommend_content_card*0.2+transfer_card+video_consultation)as `有效二跳pv`, content_exp_pv as `你可能喜欢内容卡片曝光pv`,
avg_page_stay as `来自I的单PV平均浏览时长`, wel_click_pv as `你可能喜欢美购卡片点击pv`,
navbar_search as `来自I的搜索框+搜索按钮点击PV`, content_click_pv as `你可能喜欢内容卡片点击pv`,
highlight_word as `来自I的文内搜索点击PV`, slide_wel_click_pv as `横划卡片点击pv`,
self_welfare_card as `来自I的商品卡片点击PV`, self_wel_click_pv as `关联卡片点击pv`
recommend_welfare_card as `来自I的推荐商品+查看全部商品点击pv`, FROM pm.tl_pm_contentpage_ctr
recommend_content_card as `来自I的推荐内容点击pv`, WHERE partition_day>='20200730' and partition_day<=regexp_replace(DATE_SUB(current_date,1) ,'-','')
'未配置' as `来自I的推荐专题点击pv`, order by 1 desc,2,3,4,5
transfer_card as `来自I的转诊点击pv`, \ No newline at end of file
video_consultation as `来自I的视频面诊点击pv`
FROM pm.tl_pm_recommend_strategy_d
WHERE partition_day>='20200627' and partition_day<=regexp_replace(DATE_SUB(current_date,1) ,'-','')
order by `日期` desc ,`设备类型`,`活跃类型`,`卡片类型`,`推荐类型`;
\ No newline at end of file
...@@ -4,16 +4,20 @@ SELECT ...@@ -4,16 +4,20 @@ SELECT
active_type as `活跃类型`, active_type as `活跃类型`,
card_content_type as `卡片类型`, card_content_type as `卡片类型`,
recommend_type as `推荐类型`, recommend_type as `推荐类型`,
NVL(CONCAT(ROUND(wel_click_pv/wel_exp_pv*100,2),'%'),0) as `内容页你可能喜欢美购卡片点击PV/该类卡片曝光PV`, NVL(CONCAT(ROUND((navbar_search+highlight_word+self_welfare_card+recommend_welfare_card+recommend_content_card*0.2+transfer_card+video_consultation)/card_exposure*100,2),'%'),0) as `来自首页推荐内容卡片的的有效二跳pv/首页卡片精准曝光PV`,
NVL(CONCAT(ROUND(content_click_pv/content_exp_pv*100,2),'%'),0) as `内容页你可能喜欢内容卡片点击PV/该类卡片曝光PV`, NVL(CONCAT(ROUND(card_click/card_exposure*100,2),'%'),0) as `首页卡片点击PV/首页卡片精准曝光PV`,
content_pv as `内容详情页pv`, NVL(CONCAT(ROUND((navbar_search+highlight_word+self_welfare_card+recommend_welfare_card+recommend_content_card*0.2+transfer_card+video_consultation)/card_click*100,2),'%'),0) as `来自首页推荐内容卡片的的有效二跳pv/首页卡片点击PV`,
content_uv as `内容详情页uv`, card_click as `首页卡片点击PV`,
wel_exp_pv as `你可能喜欢美购卡片曝光pv`, card_exposure as `首页卡片精准曝光PV`,
content_exp_pv as `你可能喜欢内容卡片曝光pv`, (navbar_search+highlight_word+self_welfare_card+recommend_welfare_card+recommend_content_card*0.2+transfer_card+video_consultation)as `有效二跳pv`,
wel_click_pv as `你可能喜欢美购卡片点击pv`, avg_page_stay as `来自I的单PV平均浏览时长`,
content_click_pv as `你可能喜欢内容卡片点击pv`, navbar_search as `来自I的搜索框+搜索按钮点击PV`,
slide_wel_click_pv as `横划卡片点击pv`, highlight_word as `来自I的文内搜索点击PV`,
self_wel_click_pv as `关联卡片点击pv` self_welfare_card as `来自I的商品卡片点击PV`,
FROM pm.tl_pm_recommend_strategy_d recommend_welfare_card as `来自I的推荐商品+查看全部商品点击pv`,
recommend_content_card as `来自I的推荐内容点击pv`,
'未配置' as `来自I的推荐专题点击pv`,
transfer_card as `来自I的转诊点击pv`,
video_consultation as `来自I的视频面诊点击pv`FROM pm.tl_pm_recommend_strategy_d
WHERE partition_day>='20200627' and partition_day<=regexp_replace(DATE_SUB(current_date,1) ,'-','') WHERE partition_day>='20200627' and partition_day<=regexp_replace(DATE_SUB(current_date,1) ,'-','')
order by `日期` desc ,`设备类型`,`活跃类型`,`卡片类型`,`推荐类型`; order by `日期` desc ,`设备类型`,`活跃类型`,`卡片类型`,`推荐类型`;
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment