|
@@ -232,7 +232,8 @@ public class TransportManagerServiceImpl implements TransportManagerService {
|
|
|
System.out.println("门店经度"+shopDetailByShopId.getShopLat());
|
|
System.out.println("门店经度"+shopDetailByShopId.getShopLat());
|
|
|
System.out.println("门店纬度"+shopDetailByShopId.getShopLng());
|
|
System.out.println("门店纬度"+shopDetailByShopId.getShopLng());
|
|
|
double v = calculateDistance(latitude, longitude, Double.valueOf(shopDetailByShopId.getShopLat()), Double.valueOf(shopDetailByShopId.getShopLng()));
|
|
double v = calculateDistance(latitude, longitude, Double.valueOf(shopDetailByShopId.getShopLat()), Double.valueOf(shopDetailByShopId.getShopLng()));
|
|
|
- Transport2 byDistance = transport2Service.findByDistance(shopId, platform);
|
|
|
|
|
|
|
+ //Transport2 byDistance = transport2Service.findByDistance(shopId, platform);
|
|
|
|
|
+ Transport2 byDistance = transport2Service.findByPlatform(platform);
|
|
|
System.out.println("byDistance"+byDistance);
|
|
System.out.println("byDistance"+byDistance);
|
|
|
|
|
|
|
|
TzTransportDto tzTransportDto = new TzTransportDto();
|
|
TzTransportDto tzTransportDto = new TzTransportDto();
|