diff --git a/business/jxstore/cms/sync_store_sku.go b/business/jxstore/cms/sync_store_sku.go index 1d91a5b86..91fddccaf 100644 --- a/business/jxstore/cms/sync_store_sku.go +++ b/business/jxstore/cms/sync_store_sku.go @@ -432,6 +432,9 @@ func syncStoreSkuNew(ctx *jxcontext.Context, parentTask tasksch.ITask, causeFlag if err != nil || len(skus) == 0 { return err } + if vendorID == model.VendorIDJDShop && storeID == model.JdShopMainStoreID2 { + globals.SugarLogger.Debugf("syncStoreSkuNew", utils.Format4Output(skus, false)) + } if len(excludeSkuIDs) > 0 { excludeSkuMap := jxutils.IntList2Map(excludeSkuIDs) var skus2 []*dao.StoreSkuSyncInfo diff --git a/business/model/dao/store.go b/business/model/dao/store.go index 63f77a927..5f646d311 100644 --- a/business/model/dao/store.go +++ b/business/model/dao/store.go @@ -1,7 +1,6 @@ package dao import ( - "fmt" "sort" "time" @@ -153,8 +152,6 @@ func getStoreDetail(db *DaoDB, storeID, vendorID int, vendorStoreID, vendorOrgCo if vendorID == model.VendorIDJDShop && vendorOrgCode == "" { sql += " AND t2.vendor_org_code = 1" } - fmt.Println(sql) - fmt.Println(sqlParams) if err = GetRow(db, &storeDetail, sql, sqlParams...); err == nil { storeDetail.PricePercentagePackObj = PricePercentagePack2Obj(storeDetail.PricePercentagePackStr) storeDetail.FreightDeductionPackObj = FreightDeductionPack2Obj(storeDetail.FreightDeductionPackStr)