测试
This commit is contained in:
@@ -1194,21 +1194,21 @@ func updateStoresSkusWithoutSync(ctx *jxcontext.Context, db *dao.DaoDB, storeIDs
|
|||||||
setStoreSkuBindStatus(skuBind, model.SyncFlagPriceMask)
|
setStoreSkuBindStatus(skuBind, model.SyncFlagPriceMask)
|
||||||
updateFieldMap["Price"] = 1
|
updateFieldMap["Price"] = 1
|
||||||
}
|
}
|
||||||
// if isRefreshHigh {
|
if isRefreshHigh {
|
||||||
// if beforeMsg.UnitPrice > skuBindInfo.UnitPrice {
|
if beforeMsg.UnitPrice > skuBindInfo.UnitPrice {
|
||||||
skuBind.UnitPrice = unitPrice
|
skuBind.UnitPrice = unitPrice
|
||||||
skuBind.Price = price
|
skuBind.Price = price
|
||||||
skuBind.JxPrice = jxPrice
|
skuBind.JxPrice = jxPrice
|
||||||
updateFieldMap["UnitPrice"] = 1
|
updateFieldMap["UnitPrice"] = 1
|
||||||
updateFieldMap["JxPrice"] = 1
|
updateFieldMap["JxPrice"] = 1
|
||||||
// }
|
}
|
||||||
// } else {
|
} else {
|
||||||
// skuBind.UnitPrice = unitPrice
|
skuBind.UnitPrice = unitPrice
|
||||||
// skuBind.Price = price
|
skuBind.Price = price
|
||||||
// skuBind.JxPrice = jxPrice
|
skuBind.JxPrice = jxPrice
|
||||||
// updateFieldMap["UnitPrice"] = 1
|
updateFieldMap["UnitPrice"] = 1
|
||||||
// updateFieldMap["JxPrice"] = 1
|
updateFieldMap["JxPrice"] = 1
|
||||||
// }
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if skuBindInfo.StatusSaleBegin != 0 && skuBindInfo.StatusSaleEnd != 0 {
|
if skuBindInfo.StatusSaleBegin != 0 && skuBindInfo.StatusSaleEnd != 0 {
|
||||||
|
|||||||
Reference in New Issue
Block a user