From 78bdb3fb19e343e52fce22b776778b807e34a6c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Mon, 9 Dec 2019 11:38:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A8=E8=8D=90=E5=95=86=E5=93=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/model/dao/store_sku.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/business/model/dao/store_sku.go b/business/model/dao/store_sku.go index 9e43f29f3..63f987fa7 100644 --- a/business/model/dao/store_sku.go +++ b/business/model/dao/store_sku.go @@ -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 ? `