推荐商品

This commit is contained in:
苏尹岚
2019-12-09 11:38:49 +08:00
parent 0b95e6546f
commit 78bdb3fb19

View File

@@ -690,7 +690,7 @@ func GetTopSkusByStoreIDs(db *DaoDB, storeIDs []int) (skuAndNameExt []*SkuAndNam
AND b.sale_price > ?
GROUP BY c.id)t1
JOIN sku t2 ON t2.id = t1.id
JOIN sku_name t3.id = t2.name_id
JOIN sku_name ON t3.id = t2.name_id
ORDER BY t1.count DESC
LIMIT ?
`