Browse Source

逻辑调整

Signed-off-by: binren <zhangbr@elab-plus.com>
binren 5 years ago
parent
commit
6a9cb3be1f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      report_push.py

+ 2 - 2
report_push.py

@@ -537,7 +537,7 @@ class ReportPush(object):
             # 8: 集团项目获客来源场景分析
             if customer_type == 2:
                 for x in brand_customer_channel_details:
-                    if x[2] in house_ids or x[1] in brand_id_list:
+                    if x[2] in house_ids or x[0] in brand_id_list:
                         result_data_8.append(x)
                 pass
             elif customer_type == 1:
@@ -847,7 +847,7 @@ class ReportPush(object):
                 others_data.append([x for x in ot])
             lable_data = []
             if len(others_data) > 0:
-                lable_data.extend(others_data[0][1: 5])
+                lable_data.extend(others_data[0][0: 5])
                 for i in range(1, 11):
                     number = 0
                     for od in others_data: