From ab52769654275984f635972ce55e89d236fc9be1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Thu, 25 Mar 2021 16:12:49 +0800 Subject: [PATCH] aa --- business/jxstore/cms/store_sku.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/business/jxstore/cms/store_sku.go b/business/jxstore/cms/store_sku.go index 7aada02a4..ab8692464 100644 --- a/business/jxstore/cms/store_sku.go +++ b/business/jxstore/cms/store_sku.go @@ -302,7 +302,7 @@ func GetStoresSkusForStore(ctx *jxcontext.Context, storeID int, isFocus, isAct b sqlParams = append(sqlParams, status) } sql += ` - LEFT JOIN sku_category d ON d.id = c.category_id AND d.deleted_at = ? + LEFT JOIN sku_category d ON d.id = a.category_id AND d.deleted_at = ? ` if categoryID != 0 { sql += " AND d.id = ?"