diff --git a/business/jxstore/cms/sync_store_sku.go b/business/jxstore/cms/sync_store_sku.go index 665b150b1..c25fec24f 100644 --- a/business/jxstore/cms/sync_store_sku.go +++ b/business/jxstore/cms/sync_store_sku.go @@ -393,6 +393,7 @@ func syncStoreSkuNew(ctx *jxcontext.Context, parentTask tasksch.ITask, causeFlag skus, err = dao.GetFullStoreSkus(db, vendorID, storeID) } else { skus, err = dao.GetStoreSkus(db, vendorID, storeID, skuIDs) + fmt.Println("testGetStoreSkus", utils.Format4Output(skus, false)) } if err != nil || len(skus) == 0 { return err @@ -605,6 +606,8 @@ func syncStoreSkuNew(ctx *jxcontext.Context, parentTask tasksch.ITask, causeFlag updateList = updateList[:] updateList = rList2 } + fmt.Println("testonlineList", utils.Format4Output(onlineList, false)) + fmt.Println("testofflineList", utils.Format4Output(offlineList, false)) } task := tasksch.NewParallelTask("syncStoreSkuNew", tasksch.NewParallelConfig().SetParallelCount(1).SetIsContinueWhenError(isContinueWhenError2), ctx, func(task *tasksch.ParallelTask, batchItemList []interface{}, params ...interface{}) (retVal interface{}, err error) {