diff --git a/business/jxstore/cms/sync2.go b/business/jxstore/cms/sync2.go index 30c06ee8e..171e0b0e0 100644 --- a/business/jxstore/cms/sync2.go +++ b/business/jxstore/cms/sync2.go @@ -613,7 +613,6 @@ func amendAndPruneVendorStuff(ctx *jxcontext.Context, parentTask tasksch.ITask, if err = err2; err == nil { remoteCatMap := make(map[string]int) cat2Delete = checkRemoteCatExist(remoteCatMap, localCatMap, remoteCatList) - fmt.Println("1111111111111111111111111111", utils.Format4Output(localCatList, false)) for _, v := range localCatList { if v.IsExdSpec == model.NO { if v.MapID != 0 { diff --git a/business/model/dao/sku.go b/business/model/dao/sku.go index 3c991428d..b1425029a 100644 --- a/business/model/dao/sku.go +++ b/business/model/dao/sku.go @@ -1,6 +1,7 @@ package dao import ( + "fmt" "time" "git.rosy.net.cn/baseapi/platformapi/aliupcapi" @@ -257,6 +258,8 @@ func GetSkuCategoryWithVendor(db *DaoDB, vendorIDs []int, appOrgCodes []string, sqlParams = append(sqlParams, appOrgCodes) } sql += " ORDER BY t1.seq" + fmt.Println(sql) + fmt.Println(sqlParams) err = GetRows(db, &catList, sql, sqlParams...) return catList, err }