diff --git a/cereshop-app/src/main/java/com/shop/cereshop/app/service/order/impl/CereShopOrderServiceImpl.java b/cereshop-app/src/main/java/com/shop/cereshop/app/service/order/impl/CereShopOrderServiceImpl.java index e39aecd..f351fd9 100644 --- a/cereshop-app/src/main/java/com/shop/cereshop/app/service/order/impl/CereShopOrderServiceImpl.java +++ b/cereshop-app/src/main/java/com/shop/cereshop/app/service/order/impl/CereShopOrderServiceImpl.java @@ -2265,7 +2265,7 @@ public class CereShopOrderServiceImpl implements CereShopOrderService { } else { //查询店铺物流方案 //根据仓库来计算运费 - List logistics = logisticsList.stream().filter(item -> shop.getShopId().equals(item.getShopId()) && storehouseId.equals(item.getStorehouseId())).collect(Collectors.toList()); + List logistics = logisticsList.stream().filter(item -> storehouseId.equals(item.getStorehouseId())).collect(Collectors.toList()); List logisticsSkuList = sortSkuList; if (sceneMarketFreeShipingMap.get(shop.getShopId()) != null) { logisticsSkuList = sortSkuList.stream().filter(sku -> sku.getSceneId() == null).collect(Collectors.toList()); diff --git a/cereshop-app/src/main/resources/mybatis/mapper/logistics/CereOrderLogisticsDAO.xml b/cereshop-app/src/main/resources/mybatis/mapper/logistics/CereOrderLogisticsDAO.xml index 9ba48e9..1136e65 100644 --- a/cereshop-app/src/main/resources/mybatis/mapper/logistics/CereOrderLogisticsDAO.xml +++ b/cereshop-app/src/main/resources/mybatis/mapper/logistics/CereOrderLogisticsDAO.xml @@ -102,15 +102,15 @@