This commit is contained in:
邹宗楠
2023-01-11 11:05:39 +08:00
parent da46891379
commit 48cf10b07c
2 changed files with 5 additions and 0 deletions

View File

@@ -1,6 +1,7 @@
package dao
import (
"git.rosy.net.cn/jx-callback/globals"
"time"
"git.rosy.net.cn/baseapi/platformapi/aliupcapi"
@@ -290,6 +291,8 @@ func GetSkuCategoryWithVendor(db *DaoDB, vendorIDs []int, appOrgCodes []string,
sqlParams = append(sqlParams, parentCatID)
}
sql += " ORDER BY t1.seq"
globals.SugarLogger.Debug("==sql %s", sql)
globals.SugarLogger.Debug("==sql %s", utils.Format4Output(sqlParams, false))
err = GetRows(db, &catList, sql, sqlParams...)
return catList, err
}