|
|
@ -56,13 +56,13 @@ public class MapWarehouseServiceImpl implements IMapWarehouseService { |
|
|
|
String[] endWarehouseIds = lineInfoVO.getEndWarehouseIds().split(","); |
|
|
|
String[] endWarehouseIds = lineInfoVO.getEndWarehouseIds().split(","); |
|
|
|
Long endWarehouseId = Long.valueOf(endWarehouseIds[endWarehouseIds.length - 1]); |
|
|
|
Long endWarehouseId = Long.valueOf(endWarehouseIds[endWarehouseIds.length - 1]); |
|
|
|
WarehouseInfoVO warehouseInfo = warehouseInfoMap.get(endWarehouseId); |
|
|
|
WarehouseInfoVO warehouseInfo = warehouseInfoMap.get(endWarehouseId); |
|
|
|
|
|
|
|
if(warehouseInfo!=null){ |
|
|
|
targetWarehouse.setWarehouseId(endWarehouseId); |
|
|
|
targetWarehouse.setWarehouseId(endWarehouseId); |
|
|
|
targetWarehouse.setWarehouseName(warehouseInfo.getWarehouseName()); |
|
|
|
targetWarehouse.setWarehouseName(warehouseInfo.getWarehouseName()); |
|
|
|
targetWarehouse.setLat(warehouseInfo.getLat()); |
|
|
|
targetWarehouse.setLat(warehouseInfo.getLat()); |
|
|
|
targetWarehouse.setLng(warehouseInfo.getLng()); |
|
|
|
targetWarehouse.setLng(warehouseInfo.getLng()); |
|
|
|
|
|
|
|
|
|
|
|
target.add(targetWarehouse); |
|
|
|
target.add(targetWarehouse); |
|
|
|
|
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
mapWarehouseVO.setTarget(target); |
|
|
|
mapWarehouseVO.setTarget(target); |
|
|
|
|
|
|
|
|
|
|
|