1
This commit is contained in:
@@ -540,6 +540,7 @@ func syncStoreSkuNew(ctx *jxcontext.Context, parentTask tasksch.ITask, causeFlag
|
||||
}
|
||||
var bareSku *partner.StoreSkuInfo
|
||||
isNeedReorder := false
|
||||
globals.SugarLogger.Debugf("==========sku := %s", utils.Format4Output(sku, false))
|
||||
if isStoreSkuSyncNeedDelete(sku) {
|
||||
if !dao.IsVendorThingIDEmpty(sku.VendorSkuID) {
|
||||
bareSku = storeSkuSyncInfo2Bare(sku)
|
||||
@@ -547,6 +548,7 @@ func syncStoreSkuNew(ctx *jxcontext.Context, parentTask tasksch.ITask, causeFlag
|
||||
bareSku.Stock = 0
|
||||
stockList = append(stockList, bareSku)
|
||||
} else {
|
||||
globals.SugarLogger.Debugf("==========deleteList := %s", utils.Format4Output(deleteList, false))
|
||||
deleteList = append(deleteList, bareSku)
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user