diff --git a/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/enums/FullVehicleTypeEnums.java b/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/enums/FullVehicleTypeEnums.java index 38f7f7a0a..2ad5f0f67 100644 --- a/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/enums/FullVehicleTypeEnums.java +++ b/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/enums/FullVehicleTypeEnums.java @@ -11,8 +11,8 @@ import org.springblade.common.model.IDict; public enum FullVehicleTypeEnums implements IDict { PICK_UP(1, "提货整车"), - TRUNK_LINE(2, "配送干线整车"), - DISPATCH(4, "整车"), + TRUNK_LINE(2, "干线整车"), + DISPATCH(4, "配送整车"), ; FullVehicleTypeEnums(Integer code, String text) { diff --git a/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/service/impl/BasicdataPriceServiceImpl.java b/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/service/impl/BasicdataPriceServiceImpl.java index 55c2729e4..5e6d79ced 100644 --- a/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/service/impl/BasicdataPriceServiceImpl.java +++ b/blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/service/impl/BasicdataPriceServiceImpl.java @@ -307,8 +307,8 @@ public class BasicdataPriceServiceImpl extends BaseServiceImpl routeEntities = basicdataPriceRouteService.list(Wrappers.lambdaQuery() @@ -336,7 +336,8 @@ public class BasicdataPriceServiceImpl extends BaseServiceImpl routeEntities = basicdataPriceRouteService.list(Wrappers.lambdaQuery() @@ -365,7 +366,8 @@ public class BasicdataPriceServiceImpl extends BaseServiceImpl> categoryBasicMap = new HashMap<>(); - List dispatchEntities = dispatchMap.get(1); + List dispatchEntities = dispatchMap.get(CostTypeEnums.NOMAL.getCode()); if (CollUtil.isNotEmpty(dispatchEntities)) { // 将数据放到categoryBasicMap中 dispatchEntities.forEach(item -> { @@ -560,7 +562,7 @@ public class BasicdataPriceServiceImpl extends BaseServiceImpl dispatchEntities1 = dispatchMap.get(2); + List dispatchEntities1 = dispatchMap.get(CostTypeEnums.ADD.getCode()); if (CollUtil.isNotEmpty(dispatchEntities1)) { List basicVOList = new ArrayList<>(); dispatchEntities1.forEach(item -> { @@ -592,7 +594,7 @@ public class BasicdataPriceServiceImpl extends BaseServiceImpl> categoryBasicMap = new HashMap<>(); - List warehouseEntities = warehouseMap.get(1); + List warehouseEntities = warehouseMap.get(CostTypeEnums.NOMAL.getCode()); if (CollUtil.isNotEmpty(warehouseEntities)) { warehouseEntities.forEach(item -> { Integer type = item.getType(); @@ -647,7 +649,7 @@ public class BasicdataPriceServiceImpl extends BaseServiceImpl warehouseEntities1 = warehouseMap.get(2); + List warehouseEntities1 = warehouseMap.get(CostTypeEnums.ADD.getCode()); if (CollUtil.isNotEmpty(warehouseEntities1)) { List additionalVOS = warehouseEntities1.stream().map(item -> { PriceWarehouseAdditionalVO additionalVO = new PriceWarehouseAdditionalVO();