推荐商品
This commit is contained in:
@@ -665,7 +665,7 @@ func GetStoreSkusByNameIDs(db *DaoDB, storeIDs []int, nameID int) (skuList []*St
|
||||
|
||||
func GetTopSkusByStoreIDs(db *DaoDB, storeIDs []int) (skuAndName []*model.SkuAndName, err error) {
|
||||
sql := `
|
||||
SELECT *
|
||||
SELECT t2.*,t3.name, t3.unit, t3.prefix, t3.is_spu
|
||||
FROM(
|
||||
SELECT SUM(b.count) count,b.sku_id
|
||||
FROM goods_order a
|
||||
|
||||
Reference in New Issue
Block a user