畅销商品

This commit is contained in:
苏尹岚
2019-12-24 18:11:13 +08:00
parent e811b3fc75
commit afa708ab99

View File

@@ -1084,7 +1084,7 @@ func GetTopSkusByCityCode(db *DaoDB, cityCode int, orderCreate time.Time) (skuNa
JOIN place e ON e.code = d.city_code
WHERE 1=1
AND b.sale_price > ?
AND a.created_at BETWEEN ? and NOW()
AND a.order_created_at BETWEEN ? and NOW()
GROUP BY 2,3,4
ORDER BY count DESC
`