|
@@ -105,6 +105,9 @@ public class ShoppingCartServiceImpl implements ShoppingCartService {
|
|
product.setPrice(ladder.getBuyPrice());
|
|
product.setPrice(ladder.getBuyPrice());
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+ } else if (addTaxFlag) {
|
|
|
|
+ BigDecimal addedValueTax = MathUtil.div(MathUtil.mul(product.getPrice(), product.getClubTaxPoint()), BigDecimal.valueOf(100), 2);
|
|
|
|
+ product.setPrice(MathUtil.add(addedValueTax, product.getPrice()));
|
|
}
|
|
}
|
|
product.setLadderList(ladderList);
|
|
product.setLadderList(ladderList);
|
|
} else {
|
|
} else {
|