| | |
| | | break; |
| | | case 4://同城小件物流 |
| | | map = orderLogisticsService.queryPushOrder(orderId); |
| | | String order3 = String.valueOf(map.get("startLon")) + "," + String.valueOf(map.get("startLat")); |
| | | String distance3 = gdMapElectricFenceUtil.getDistance(lon + "," + lat, order3, 1).get("distance"); |
| | | String order3 = String.valueOf(map.get("startLat")) + "," + String.valueOf(map.get("startLon")) ; |
| | | String distance3 = gdMapElectricFenceUtil.getDistance(lat + "," + lon, order3, 1).get("distance"); |
| | | map.put("startDistance", ToolUtil.isNotEmpty(distance3) ? Double.valueOf(distance3) / 1000 : 0); |
| | | |
| | | //总距离 |