Commit b6898f49 by mushishixian

还是价格问题

parent 5b4a4d21
Showing with 1 additions and 1 deletions
...@@ -198,7 +198,7 @@ func MatchGoodsInfo(goods model.ApiGoods, goodsMap GoodsMap) (bomMatching model. ...@@ -198,7 +198,7 @@ func MatchGoodsInfo(goods model.ApiGoods, goodsMap GoodsMap) (bomMatching model.
var ladder model.LadderPrice var ladder model.LadderPrice
for _, price := range goods.LadderPrice { for _, price := range goods.LadderPrice {
//需要用于获取价格的阶梯价 //需要用于获取价格的阶梯价
if goodsMap.Number <= price.Purchases { if bomMatching.Number <= price.Purchases {
ladder = price ladder = price
break break
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment