浏览代码

FIX:修复公众号总数据时间问题

cxyu 3 年之前
父节点
当前提交
4665d99c73
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      data_manage/pitcher_panel.py

+ 1 - 1
data_manage/pitcher_panel.py

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