推荐商品

This commit is contained in:
苏尹岚
2019-12-09 11:42:29 +08:00
parent 78bdb3fb19
commit 45481c825e

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 ON t3.id = t2.name_id
JOIN sku_name t3 ON t3.id = t2.name_id
ORDER BY t1.count DESC
LIMIT ?
`