ck 4 年之前
父節點
當前提交
3d6c534972
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      data_manage/pitcher_panel.py

+ 1 - 1
data_manage/pitcher_panel.py

@@ -759,7 +759,7 @@ def get_channel_summary(channel,pitcher,page,page_size,order_by,order,state):
                 select channel,
                        min(if(cost>0,dt,null)) start_d,max(if(cost>0,dt,null) ) end_d,
                         if(end_d>subtractDays(today(),10),'在投','停投') state,type 
-                       from dw_daily_channel_cost where 1=1 {pitcher_op} {channel_op}  group by channel) a
+                       from dw_daily_channel_cost where 1=1 {pitcher_op} {channel_op}  group by channel,type) a
 
                 left outer join(
                 select channel,sum(follow_user) follow_user,