|
@@ -585,11 +585,13 @@ class ReportPush(object):
|
|
|
for i in range(1, 10):
|
|
|
house_result_part.append(equal_house[i])
|
|
|
elif not equal_house and equal_brand:
|
|
|
- for i in range(0, 1):
|
|
|
+ for i in range(0, 10):
|
|
|
house_result_part.append(equal_brand[i])
|
|
|
house_result.append(sum(house_result_part))
|
|
|
house_result.extend(house_result_part)
|
|
|
result.append(house_result)
|
|
|
+ result.sort(key=lambda obj: obj[1])
|
|
|
+ result.reverse()
|
|
|
return result
|
|
|
|
|
|
def equal_by_house_id(self, data, house_id, index):
|