Browse Source

增加集团筛选

Signed-off-by: binren <zhangbr@elab-plus.com>
binren 4 years ago
parent
commit
3c9b0a09d3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      jianye_report.py

+ 1 - 1
jianye_report.py

@@ -201,7 +201,7 @@ class JianYeReport(object):
         pv_data = self.get_pv_data(time_type)
         if pv_data is not None:
             for x in pv_data:
-                if str(x[1]) == str(house_id):
+                if str(x[1]) == str(house_id) and str(x[0]) == self.brand_id:
                     return x[3:]
         return [0, 0, 0, 0]