el="diff-2aa2824cb5ff51e6b81a7532efe995d566782c81R41">41
     # 经销商销量统计 & 经销商榜
42
-    distributor_sales = DistributorSaleStatisticInfo.objects.filter(ymd='0', status=True).order_by('-num')[:3]
42
+    distributor_sales = DistributorSaleStatisticInfo.objects.filter(ymd=0, status=True).order_by('-num')[:3]
43 43
     distributor_sales = [d.data for d in distributor_sales]
44 44
 
45 45
     # 各地区实时销量
46
-    province_sales = ProvinceSaleStatisticInfo.objects.filter(ymd='0', status=True).order_by('position')
46
+    province_sales = ProvinceSaleStatisticInfo.objects.filter(ymd=0, status=True).order_by('position')
47 47
     province_sales = [p.data for p in province_sales]
48 48
 
49 49
     return response(200, 'Get TJ Data Success', u'获取统计数据成功', {

kodo - Gogs: Go Git Service

No Description

Brightcells: 59def8d479 Add forbidden duplicate upload photo 9 years ago
..
__init__.py 7d85bed0b0 move errno_utils.py/response_utils.py into error file 10 years ago
errno_utils.py 59def8d479 Add forbidden duplicate upload photo 9 years ago
response_utils.py f016f89541 Update kwargs for response in response_utils.py 9 years ago