diff --git a/business/model/dao/sku.go b/business/model/dao/sku.go index 24fd5418a..7950cb534 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.* + SELECT t1.*, t1.seq store_category_seq FROM sku_category t1 WHERE t1.deleted_at = ?` params := []interface{}{