Signed-off-by: binren <zhangbr@elab-plus.com>
@@ -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]