Commit f0d57016 by zhiheng.zhang

华莱士更新

parent 5b7c2579
...@@ -910,7 +910,7 @@ public class ShoppingCartMallServiceImpl implements ShoppingCartNewService { ...@@ -910,7 +910,7 @@ public class ShoppingCartMallServiceImpl implements ShoppingCartNewService {
} }
boolean isDispatchFree = queryDeliveryTemplateResponseVo.getData().isDispatchFree(); boolean isDispatchFree = queryDeliveryTemplateResponseVo.getData().isDispatchFree();
if(!isDispatchFree) { if(!isDispatchFree) {
deliveryAmount = Long.valueOf(queryDeliveryTemplateResponseVo.getData().getFreight()); deliveryAmount = Long.valueOf(null == queryDeliveryTemplateResponseVo.getData().getFreight() ? 0 : queryDeliveryTemplateResponseVo.getData().getFreight() );
} }
return deliveryAmount; return deliveryAmount;
} }
......
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