Commit a6cce47f authored by 332784038@qq.com's avatar 332784038@qq.com

Merge branch 'master-fix' into release

parents 3e480be1 6ac38f2d
......@@ -2563,7 +2563,7 @@ public class OrderBusinessServiceImpl extends AbstractService<OrderMapper, Order
//计较体积
BigDecimal chargeVolume =
newOrderItemDOList.stream().map(OrderItemDO::getChargeVolume).
newOrderItemDOList.stream().map(OrderItemDO::getChargeVolume).filter(Objects::nonNull).
reduce(BigDecimal.ZERO, BigDecimal::add);
BigDecimal sumVolume = newOrderItemDOList.stream().map(OrderItemDO::getWarehouseInInfoVO).filter(Objects::nonNull).map(WarehouseInInfoVO::getVolume).reduce(BigDecimal.ZERO, BigDecimal::add);
orderDO.setSumVolume(sumVolume);
......@@ -2571,12 +2571,12 @@ public class OrderBusinessServiceImpl extends AbstractService<OrderMapper, Order
//计价总重量
BigDecimal chargeWeight =
newOrderItemDOList.stream().map(OrderItemDO::getChargeWeight).
newOrderItemDOList.stream().map(OrderItemDO::getChargeWeight).filter(Objects::nonNull).
reduce(BigDecimal.ZERO, BigDecimal::add);
BigDecimal sumWeight =
newOrderItemDOList.stream().map(OrderItemDO::getWarehouseInInfoVO).
filter(Objects::nonNull).map(WarehouseInInfoVO::getWeight).
filter(Objects::nonNull).map(WarehouseInInfoVO::getWeight).filter(Objects::nonNull).
reduce(BigDecimal.ZERO, BigDecimal::add);
orderDO.setSumWeight(sumWeight);
......
......@@ -390,6 +390,7 @@ public class SmsSendServiceImpl implements SmsSendService {
if ((Objects.isNull(businessProperties) || !businessProperties.isDebug()) && smsChannel.getStatus() == 0) {
smsProducer.sendSmsSendMessageV2(smsSendMessage);
}
return sendLogId;
}
......
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