This commit is contained in:
邹宗楠
2023-04-13 14:52:22 +08:00
parent 17c794ae51
commit eccfb45dc6
3 changed files with 3 additions and 2 deletions

View File

@@ -1285,7 +1285,7 @@ func GetTopSkusByCityCode(db *DaoDB, cityCode int, orderCreate time.Time) (skuNa
AND b.sale_price > ?
AND a.order_created_at BETWEEN ? and NOW()
GROUP BY 2,3,4
ORDER BY count DESC
ORDER BY count DESC LIMIT 100
`
sqlParams := []interface{}{
utils.DefaultTimeValue,