Browse Source

MOD:数据修复

cxyu 2 years ago
parent
commit
c5c2fc4f77
1 changed files with 1 additions and 1 deletions
  1. 1 1
      handlers/OrderHandler.py

+ 1 - 1
handlers/OrderHandler.py

@@ -128,7 +128,7 @@ class OrderInfoNobody(BaseHandler):
                             left join GameDataSum.h_game_sum b on a.app_id = b.id
                             where a.status = 2 {op}
                             group by  toDate(FROM_UNIXTIME(a.create_time)) ,b.name,
-                            if(a.agent_id in ('sdk_one_0','sdk_two_0') ,'自然流量','买量流量')
+                            if(a.agent_id in ('sdk_one_0','sdk_two_0','sdk_three_0') ,'自然流量','买量流量')
                             union all
                             select sum(amount) sum_amount,toDate(FROM_UNIXTIME(a.create_time)) dt, 
                             b.name ,'当日总量' as agent