|
@@ -83,11 +83,11 @@ public class TbGoodsCartService extends ServiceImpl<TbGoodsCartMapper, TbGoodsCa
|
|
|
|
|
|
tbGoodsCart.setBuyType(2 + "");
|
|
|
|
|
|
- tbGoodsCart.setBuyWeight(Double.valueOf(goodsCartInfoDto.getBuyNum()));
|
|
|
+ tbGoodsCart.setBuyWeight(goodsCartInfoDto.getBuyWeight());
|
|
|
|
|
|
tbGoodsCart.setGoodsUnit(tbGoodsTransit.getGoodsUnits());
|
|
|
|
|
|
- tbGoodsCart.setTotalPrice((goodsCartInfoDto.getBuyNum() == null? 0 : goodsCartInfoDto.getBuyNum())
|
|
|
+ tbGoodsCart.setTotalPrice((goodsCartInfoDto.getBuyWeight() == null? 0 : goodsCartInfoDto.getBuyWeight())
|
|
|
*
|
|
|
(tbGoodsTransit.getPrice() == null? 0 : tbGoodsTransit.getPrice()));
|
|
|
|