畅销商品
This commit is contained in:
@@ -1084,7 +1084,7 @@ func GetTopSkusByCityCode(db *DaoDB, cityCode int, orderCreate time.Time) (skuNa
|
|||||||
JOIN place e ON e.code = d.city_code
|
JOIN place e ON e.code = d.city_code
|
||||||
WHERE 1=1
|
WHERE 1=1
|
||||||
AND b.sale_price > ?
|
AND b.sale_price > ?
|
||||||
AND a.created_at BETWEEN ? and NOW()
|
AND a.order_created_at BETWEEN ? and NOW()
|
||||||
GROUP BY 2,3,4
|
GROUP BY 2,3,4
|
||||||
ORDER BY count DESC
|
ORDER BY count DESC
|
||||||
`
|
`
|
||||||
|
|||||||
Reference in New Issue
Block a user