1
This commit is contained in:
@@ -555,6 +555,9 @@ func syncStoreSkuNew(ctx *jxcontext.Context, parentTask tasksch.ITask, causeFlag
|
||||
// if vendorID == model.VendorIDJDShop {
|
||||
// formalizeStoreSkuListForJds(skus)
|
||||
// }
|
||||
if storeID == 20002 {
|
||||
globals.SugarLogger.Debugf("---------skus := %s", utils.Format4Output(skus, false))
|
||||
}
|
||||
singleStoreHandler, _ := partner.GetPurchasePlatformFromVendorID(vendorID).(partner.ISingleStoreStoreSkuHandler)
|
||||
storeSkuHandler := partner.GetPurchasePlatformFromVendorID(vendorID).(partner.IPurchasePlatformStoreSkuHandler)
|
||||
reorderHandler, _ := partner.GetPurchasePlatformFromVendorID(vendorID).(partner.IStoreSkuSorter)
|
||||
@@ -754,6 +757,15 @@ func syncStoreSkuNew(ctx *jxcontext.Context, parentTask tasksch.ITask, causeFlag
|
||||
}
|
||||
|
||||
}
|
||||
if storeID == 20002 {
|
||||
globals.SugarLogger.Debugf("---------createList := %s", utils.Format4Output(createList, false))
|
||||
globals.SugarLogger.Debugf("---------updateList := %s", utils.Format4Output(updateList, false))
|
||||
globals.SugarLogger.Debugf("---------deleteList := %s", utils.Format4Output(deleteList, false))
|
||||
globals.SugarLogger.Debugf("---------stockList := %s", utils.Format4Output(stockList, false))
|
||||
globals.SugarLogger.Debugf("---------onlineList := %s", utils.Format4Output(onlineList, false))
|
||||
globals.SugarLogger.Debugf("---------priceList := %s", utils.Format4Output(priceList, false))
|
||||
globals.SugarLogger.Debugf("---------offlineList := %s", 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) {
|
||||
|
||||
Reference in New Issue
Block a user