袁野 2 days ago
parent 622341b439
commit cf1ab91960
  1. 3
      bweb/src/main/java/com/bweb/controller/goods/GoodsController.java
  2. 2
      service/src/main/java/com/hfkj/service/order/impl/BsOrderServiceImpl.java

@ -359,13 +359,14 @@ public class GoodsController {
map.put("title", title); map.put("title", title);
if (goodsType != null) { if (goodsType != null) {
GoodsType goodsType1 = goodsTypeService.queryDetail(goodsType);
GoodsType goodsType1 = goodsTypeService.queryDetail(goodsType);
if (goodsType1.getParentId() == null) { if (goodsType1.getParentId() == null) {
map.put("goodsTypeParent", goodsType); map.put("goodsTypeParent", goodsType);
} else { } else {
map.put("goodsType", goodsType); map.put("goodsType", goodsType);
} }
} }
map.put("goodsBrand", goodsBrand); map.put("goodsBrand", goodsBrand);

@ -143,7 +143,7 @@ public class BsOrderServiceImpl implements BsOrderService {
Long addressId = null; Long addressId = null;
// 订单总金额 // 订单总金额
BigDecimal totalPrice = new BigDecimal("0"); BigDecimal totalPrice;
// 商品总金额 // 商品总金额
BigDecimal productTotalPrice = new BigDecimal("0"); BigDecimal productTotalPrice = new BigDecimal("0");

Loading…
Cancel
Save