Explorar o código

FIX:公众号总数据修复

cxyu %!s(int64=3) %!d(string=hai) anos
pai
achega
a4ae876362
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      data_manage/pitcher_panel.py

+ 1 - 2
data_manage/pitcher_panel.py

@@ -1236,8 +1236,7 @@ def get_channel_summary(user_id, channel, pitcher, page, page_size, order_by, or
                from  dw_channel  a 
                 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 and a.dt>=c.start_date  and b.dt>=d.start_date 
+                where 1=1 and a.dt>=c.start_date  
                 {op} {op1} {op2}  {op6} {op7} GROUP BY a.channel) x
                 having 1=1   {op5}  ORDER BY {order_by} {order}