Procházet zdrojové kódy

逻辑调整

Signed-off-by: binren <zhangbr@elab-plus.com>
binren před 5 roky
rodič
revize
6a9cb3be1f
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  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: