- up
This commit is contained in:
@@ -303,13 +303,13 @@ func syncStoreSkuNew(ctx *jxcontext.Context, parentTask tasksch.ITask, isFull bo
|
|||||||
bareSku = storeSkuSyncInfo2Bare(calVendorPrice4StoreSku(sku, storeDetail.PricePercentagePackObj, int(storeDetail.PricePercentage)))
|
bareSku = storeSkuSyncInfo2Bare(calVendorPrice4StoreSku(sku, storeDetail.PricePercentagePackObj, int(storeDetail.PricePercentage)))
|
||||||
priceList = append(priceList, bareSku)
|
priceList = append(priceList, bareSku)
|
||||||
}
|
}
|
||||||
if model.IsSyncStatusUpdate(sku.StoreSkuSyncStatus) && singleStoreHandler == nil {
|
// if model.IsSyncStatusUpdate(sku.StoreSkuSyncStatus) && singleStoreHandler == nil {
|
||||||
if bareSku == nil {
|
// if bareSku == nil {
|
||||||
bareSku = storeSkuSyncInfo2Bare(sku)
|
// bareSku = storeSkuSyncInfo2Bare(sku)
|
||||||
}
|
// }
|
||||||
stockList = append(stockList, bareSku)
|
// stockList = append(stockList, bareSku)
|
||||||
isAddedStock = true
|
// isAddedStock = true
|
||||||
}
|
// }
|
||||||
if model.IsSyncStatusSale(sku.StoreSkuSyncStatus) {
|
if model.IsSyncStatusSale(sku.StoreSkuSyncStatus) {
|
||||||
if bareSku == nil {
|
if bareSku == nil {
|
||||||
bareSku = storeSkuSyncInfo2Bare(sku)
|
bareSku = storeSkuSyncInfo2Bare(sku)
|
||||||
|
|||||||
Reference in New Issue
Block a user