Commit 469f7742 authored by 赵建伟's avatar 赵建伟

Merge branch 'yindanlei' into 'master'

add fangan_day report codes

See merge request !31
parents 833d416c 5976d8a2
......@@ -47,7 +47,8 @@ FROM
else '测试组B(无方案库)' END as grey_type
,CASE WHEN (partition_date>='20190601' and tmp.col2 = 'AI')
or (partition_date < '20200301' AND partition_date>='20190601' and first_channel_source_type like 'promotion_toutiao_jy%')
or (partition_date>='20200601' and ((first_channel_source_type like 'promotion_toutiao_jy%') or (first_channel_source_type like 'dyand%') or (first_channel_source_type like 'douyin%')))
or (partition_date>='20200601' and ((first_channel_source_type like 'promotion_toutiao%') or (first_channel_source_type like 'dyand%') or (first_channel_source_type like 'douyin%') or (first_channel_source_type like 'aiqiyiand%')
or (first_channel_source_type like 'bilibili%') or (first_channel_source_type like 'kuaishou%')))
THEN 'AI' ELSE '医美' END as channel_type
FROM online.ml_device_day_active_status
LEFT JOIN
......
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