|  | @@ -288,7 +288,7 @@ class ReportPush(object):
 | 
	
		
			
				|  |  |                                          count(DISTINCT case when is_new_user = 0 then 
 | 
	
		
			
				|  |  |                                              brand_user_id end) revisit_cust
 | 
	
		
			
				|  |  |                           from a_behavior_brand_mini_day
 | 
	
		
			
				|  |  | -                            where report_d>= %s
 | 
	
		
			
				|  |  | +                            where report_d >= %s
 | 
	
		
			
				|  |  |                                          and report_d < %s
 | 
	
		
			
				|  |  |                                  GROUP BY
 | 
	
		
			
				|  |  |                                  brand_id,
 | 
	
	
		
			
				|  | @@ -704,7 +704,6 @@ class ReportPush(object):
 | 
	
		
			
				|  |  |          """
 | 
	
		
			
				|  |  |          params = []
 | 
	
		
			
				|  |  |          params.extend(time_range)
 | 
	
		
			
				|  |  | -        params.extend(time_range)
 | 
	
		
			
				|  |  |          customer_channel_details_data = self.db.select(self.sql_3_1, params)
 | 
	
		
			
				|  |  |          # customer_channel_details_data数据结构
 | 
	
		
			
				|  |  |          # 	house_id, 项目id
 | 
	
	
		
			
				|  | @@ -719,7 +718,7 @@ class ReportPush(object):
 | 
	
		
			
				|  |  |          :param frequency:
 | 
	
		
			
				|  |  |          :return:
 | 
	
		
			
				|  |  |          """
 | 
	
		
			
				|  |  | -        params = [time_range[0], time_range[1]]
 | 
	
		
			
				|  |  | +        params = [time_range[0], time_range[1], time_range[0], time_range[1]]
 | 
	
		
			
				|  |  |          brand_customer_channel_details_data = self.db.select(self.sql_3_2, params)
 | 
	
		
			
				|  |  |          # brand_customer_channel_details_data数据结构
 | 
	
		
			
				|  |  |          #             brand_id, 集团id
 |