From be61643bd7557683ad0854b8a103ab766fef0306 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Sat, 8 Oct 2022 22:19:43 +0800 Subject: [PATCH] 1 --- business/jxstore/cms/sync_store_sku.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/business/jxstore/cms/sync_store_sku.go b/business/jxstore/cms/sync_store_sku.go index 500df956a..d563f021a 100644 --- a/business/jxstore/cms/sync_store_sku.go +++ b/business/jxstore/cms/sync_store_sku.go @@ -438,8 +438,11 @@ func syncStoreSkuNew(ctx *jxcontext.Context, parentTask tasksch.ITask, causeFlag var skus []*dao.StoreSkuSyncInfo if isFull { skus, err = dao.GetFullStoreSkus(db, vendorID, storeID) + globals.SugarLogger.Debugf("================isFull%s", utils.Format4Output(skus, true)) + } else { skus, err = dao.GetStoreSkus(db, vendorID, storeID, skuIDs) + globals.SugarLogger.Debugf("================isFull2%s", utils.Format4Output(skus, true)) } if err != nil || len(skus) == 0 { return err @@ -477,6 +480,7 @@ func syncStoreSkuNew(ctx *jxcontext.Context, parentTask tasksch.ITask, causeFlag now := jxutils.OperationTime2HourMinuteFormat(time.Now()) var failedList []*partner.StoreSkuInfoWithErr for _, sku := range skus { + globals.SugarLogger.Debugf("================isFull2%s", utils.Format4Output(sku, true)) if !useVendorPriceDirectly && !isSkuLockTimeValid(sku) { sku.VendorPrice = 0