1
This commit is contained in:
@@ -426,6 +426,7 @@ func updateStoreSku(db *dao.DaoDB, vendorID int, storeSkuList []*dao.StoreSkuSyn
|
||||
} else {
|
||||
updateItemList := make([]*dao.KVUpdateItem, len(storeSkuList))
|
||||
for k, v := range storeSkuList {
|
||||
globals.SugarLogger.Debugf("======skusyncStatus %s", utils.Format4Output(v, false))
|
||||
updateItemList[k] = sku2Update(vendorID, v, syncStatus)
|
||||
}
|
||||
globals.SugarLogger.Debugf("========updateItemList=== %s", utils.Format4Output(updateItemList, false))
|
||||
@@ -435,7 +436,6 @@ func updateStoreSku(db *dao.DaoDB, vendorID int, storeSkuList []*dao.StoreSkuSyn
|
||||
}
|
||||
}
|
||||
}
|
||||
globals.SugarLogger.Debugf("=========updateItemList===num-- %d,%s", num, err.Error())
|
||||
return num, err
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user