Commit 364f9431 by 周晓航

修复生产bug-> 门店未有任何配置 导致购物车计算配送费NPE

parent e1601f3c
......@@ -53,9 +53,7 @@ public class FixDeliveryServiceImpl extends AbstractDeliveryServiceImpl implemen
DeliveryInfoDTO deliveryInfo = responseDto.getBizVO().getDeliveryInfo();
long amount = 0L;
List<ExtraDeliveryDto> deliveryAmountList = new ArrayList<>();
if (Objects.isNull(deliveryInfo)) {
}else {
if (Objects.nonNull(deliveryInfo)) {
amount = Objects.isNull(deliveryInfo.getFinalDeliveryAmount()) ? 0L : deliveryInfo.getFinalDeliveryAmount();
deliveryAmountList = super.nightDeliveryAmountHandle(amount, deliveryInfo.getExpandFields());
}
......
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