Commit 7d3b065f authored by 赵建伟's avatar 赵建伟

Merge branch 'yindanlei' into 'master'

add fangan_day report codes

See merge request !42
parents 8acdc491 b2fbce74
......@@ -56,7 +56,7 @@ FROM
(SELECT code,is_ai_channel,partition_day
FROM DIM.DIM_AI_CHANNEL_ZP_NEW
WHERE partition_day>= '20200724' AND partition_day <=regexp_replace(date_sub(current_date(),1),'-','')) tmp
ON m.partition_date=tmp.partition_day AND first_channel_source_type=code
ON partition_date=tmp.partition_day AND first_channel_source_type=code
where partition_date>='20200724' AND partition_date<=regexp_replace(date_sub(current_date(),1),'-','')
AND active_type in ('1','2','4')
)t1
......
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