This commit is contained in:
苏尹岚
2021-01-28 16:49:23 +08:00
parent 4724d57094
commit 252a5d1b33

View File

@@ -790,7 +790,7 @@ func GetStoreCategoryMap(db *DaoDB, parentID, level, storeID, categoryID int) (s
sql += " AND a.category_id = ?" sql += " AND a.category_id = ?"
sqlParams = append(sqlParams, categoryID) sqlParams = append(sqlParams, categoryID)
} }
sql += " AND ORDER BY a.level, a.store_category_seq" sql += " ORDER BY a.level, a.store_category_seq"
err = GetRows(db, &storeCatMaps, sql, sqlParams) err = GetRows(db, &storeCatMaps, sql, sqlParams)
if err != nil { if err != nil {
return nil, err return nil, err