Commit 2014b816 by 孙昱

sunyu::fixbug::add nonnull filter

parent 0336c80f
...@@ -448,7 +448,7 @@ public class CalculationServiceImpl { ...@@ -448,7 +448,7 @@ public class CalculationServiceImpl {
material.setGoodsQuantity(1); material.setGoodsQuantity(1);
material.setOriginalPrice(null != materialGoods.getOriginalPrice() ? material.setOriginalPrice(null != materialGoods.getOriginalPrice() ?
materialGoods.getOriginalPrice() : 0); materialGoods.getOriginalPrice() : 0);
material.setNowPrice(materialGoods.getFinalPrice().intValue()); material.setNowPrice(null != materialGoods.getFinalPrice() ? materialGoods.getFinalPrice().intValue():0);
materials.add(material); materials.add(material);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment