浏览代码

report_push: 处理重复的数据

Signed-off-by: binren <zhangbr@elab-plus.com>
binren 5 年之前
父节点
当前提交
c578b4ab84
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      report_push.py

+ 1 - 1
report_push.py

@@ -605,7 +605,7 @@ class ReportPush(object):
             if x[0] not in house_ids:
                 house_ids.append(x[0])
         for x in brand_top_data:
-            if x[1] not in house_ids:
+            if x[1] not in house_ids and x[1] is not None and int(x[1]) > 300:
                 house_ids.append(x[1])
         for house_id in house_ids:
             a = []