Java BigDecimal 添加数据
@RequestMapping("Add")
public String goodsAdd(Goods goods,Model model) {
BigDecimal countPrice = new BigDecimal(10.50);
goods.setCountPrice(countPrice);
goodsService.save(goods);
return "redirect:/goods/Index";
}
new BigDecimal