|
|
@ -114,9 +114,14 @@ public class ShoppingCartService extends MybatisBaseService<ShoppingCartMapper, |
|
|
|
LpkGoods lpkGoods = lpkGoodsService.fetchBySid(vo.getGoodsSid()); |
|
|
|
String stepWeight = lpkGoods.getStepWeight(); |
|
|
|
String stepPrice = lpkGoods.getStepPrice(); |
|
|
|
if (new BigDecimal(stepPrice).compareTo(BigDecimal.ZERO) == 0) { |
|
|
|
if(StringUtils.isNotBlank(stepPrice)){ |
|
|
|
if (new BigDecimal(stepPrice).compareTo(BigDecimal.ZERO) == 0) { |
|
|
|
stepPrice = vo.getJPrice(); |
|
|
|
} |
|
|
|
}else{ |
|
|
|
stepPrice = vo.getJPrice(); |
|
|
|
} |
|
|
|
|
|
|
|
if ("北京3号白菜".equals(vo.getGoodsName()) |
|
|
|
|| "玲珑黄白菜".equals(vo.getGoodsName()) |
|
|
|
|| "V7土豆".equals(vo.getGoodsName()) |
|
|
|