ck %!s(int64=4) %!d(string=hai) anos
pai
achega
6bc356b87f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      data_manage/pitcher_panel.py

+ 1 - 1
data_manage/pitcher_panel.py

@@ -758,7 +758,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,case type when 'vx' then 'MP' when 'qq' then 'GDT' end type 
+                        if(end_d>subtractDays(today(),10),'在投','停投') state,case when type ='vx' then 'MP' when type ='qq' then 'GDT' end type 
                        from dw_daily_channel_cost where 1=1 {pitcher_op} {channel_op}  group by channel,type) a
 
                 left outer join(