库存修改 测试
This commit is contained in:
@@ -253,10 +253,11 @@ func storeSkuSyncInfo2Bare(inSku *dao.StoreSkuSyncInfo) (outSku *partner.StoreSk
|
||||
VendorSkuID2: utils.Int64ToStr(inSku.JdsWareID),
|
||||
JdsStockSwitch: inSku.JdsStockSwitch,
|
||||
IsDeletedBySku: inSku.IsDeletedBySku,
|
||||
Stock: inSku.Stock,
|
||||
}
|
||||
if !isStoreSkuSyncNeedDelete(inSku) {
|
||||
outSku.Stock = model.MaxStoreSkuStockQty
|
||||
}
|
||||
// if !isStoreSkuSyncNeedDelete(inSku) {
|
||||
// outSku.Stock = model.MaxStoreSkuStockQty
|
||||
// }
|
||||
return outSku
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user