|
@@ -838,6 +838,8 @@ def get_channel_summary(user_id, channel, pitcher, page, page_size, order_by, or
|
|
|
|
|
|
from dw_channel a
|
|
from dw_channel a
|
|
left join dw_channel_amount_daily_reverse b using (dt,channel)
|
|
left join dw_channel_amount_daily_reverse b using (dt,channel)
|
|
|
|
+ left join quchen_text.advertiser_vx c on a.channel = c.name
|
|
|
|
+ left join quchen_text.advertiser_vx d on b.channel = d.name
|
|
where 1=1 {op} {op1} {op2} {op6} {op7} GROUP BY a.channel) x
|
|
where 1=1 {op} {op1} {op2} {op6} {op7} GROUP BY a.channel) x
|
|
having 1=1 {op5} ORDER BY {order_by} {order}
|
|
having 1=1 {op5} ORDER BY {order_by} {order}
|
|
|
|
|