From e35d761fea2a065c454238d38fccf77cd02b7e4c 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 11:48:52 +0800 Subject: [PATCH] aa --- business/model/dao/sku.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/business/model/dao/sku.go b/business/model/dao/sku.go index 7950cb534..2bf5c2d65 100644 --- a/business/model/dao/sku.go +++ b/business/model/dao/sku.go @@ -99,7 +99,7 @@ func GetCategories(db *DaoDB, parentID, level int, catIDs []int, isExd bool) (ca func GetCategoriesForStore(db *DaoDB, parentID, level int, catIDs []int) (cats []*model.StoreCategoryMap, err error) { sql := ` - SELECT t1.*, t1.seq store_category_seq + SELECT t1.*, t1.seq store_category_seq, t1.id category_id FROM sku_category t1 WHERE t1.deleted_at = ?` params := []interface{}{