|
|
@@ -61,7 +61,9 @@ public class ProdAttrPriceController extends BaseController {
|
|
|
prodAttrPriceVo.setBuyerName(ERoleKey.CUSTOMER.getDesc());
|
|
|
prodAttrPriceVo.setBuyerRoleKey(ERoleKey.CUSTOMER.getCode());
|
|
|
prodAttrPriceVo.setBuyerRoleName(ERoleKey.CUSTOMER.getDesc());
|
|
|
- prodAttrPriceVo.setPrice(prodAttrPriceVo.getPrice().divide(BigDecimal.valueOf(100)));
|
|
|
+ if (prodAttrPriceVo.getPrice() != null) {
|
|
|
+ prodAttrPriceVo.setPrice(prodAttrPriceVo.getPrice().divide(BigDecimal.valueOf(100)));
|
|
|
+ }
|
|
|
mMap.put("prodAttrPriceVo", prodAttrPriceVo);
|
|
|
return prefix + "/prodAttrPrice";
|
|
|
}
|