diff --git a/business/model/dao/store.go b/business/model/dao/store.go index 5eb78c1e4..f428a2ded 100644 --- a/business/model/dao/store.go +++ b/business/model/dao/store.go @@ -1898,7 +1898,7 @@ func StatisticsSettlementByCity(db *DaoDB, cityCode []string, start, end time.Ti sql += ` GROUP BY - u.name, u.mobile ,p.name,s.id ORDER BY mobile desc LIMIT ? OFFSET ? + u.name, u.mobile ,p.name,s.id ORDER BY order_count desc LIMIT ? OFFSET ? ` param = append(param, size, offset)