- ORDER BY t1.recent_order_num DESC in QueryPageStores

This commit is contained in:
gazebo
2019-06-25 18:16:07 +08:00
parent b7487ead19
commit 66d523c210

View File

@@ -66,6 +66,7 @@ func QueryPageStores(db *DaoDB, pageSize, offset int, keyword string, vendorStor
sql += ")"
}
sql += `
ORDER BY t1.recent_order_num DESC
LIMIT ? OFFSET ?
`
pageSize = FormalizePageSize(pageSize)