推荐商品
This commit is contained in:
@@ -690,7 +690,7 @@ func GetTopSkusByStoreIDs(db *DaoDB, storeIDs []int) (skuAndNameExt []*SkuAndNam
|
|||||||
AND b.sale_price > ?
|
AND b.sale_price > ?
|
||||||
GROUP BY c.id)t1
|
GROUP BY c.id)t1
|
||||||
JOIN sku t2 ON t2.id = t1.id
|
JOIN sku t2 ON t2.id = t1.id
|
||||||
JOIN sku_name ON t3.id = t2.name_id
|
JOIN sku_name t3 ON t3.id = t2.name_id
|
||||||
ORDER BY t1.count DESC
|
ORDER BY t1.count DESC
|
||||||
LIMIT ?
|
LIMIT ?
|
||||||
`
|
`
|
||||||
|
|||||||
Reference in New Issue
Block a user