Commit 82bb4442 by 周晓航

夜间配送费字段新增

Signed-off-by: 周晓航 <xiaohang.zhou@freemud.com>
parent 2b995ad8
......@@ -1694,7 +1694,9 @@ public class ShoppingCartNewServiceImpl implements ShoppingCartNewService {
result.setDeliveryAmount((Objects.isNull(distributionFee) ? 0L : distributionFee) + nightDistributionFee);
// fisherman 优惠后配送费,需要加上促销反馈夜间配送费的优惠价格
Long calculationNightDistributionFee = Objects.isNull(result.getNightDistributionFee()) ? 0L : result.getNightDistributionFee();
result.setDistributionFee(result.getDistributionFee() + calculationNightDistributionFee);
// 老算价 可能会返回 null 牛皮
Long calculationDistributionFee = Objects.isNull(result.getDistributionFee()) ? 0L : result.getDistributionFee();
result.setDistributionFee(calculationDistributionFee + calculationNightDistributionFee);
return result;
}
// 支付宝华莱士紧急修改代码,当促销返回103错误码时,需要报券不适用于该门店,且清空购物车
......
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