| 
					
				 | 
			
			
				@@ -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 
			 |