Commit bb88f61d by zhengxj

finish 完善距离计算 on 20191118 by zhengxj

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@24914 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 348dfc76
...@@ -3758,7 +3758,8 @@ public class OrderServiceImpl implements IOrderService { ...@@ -3758,7 +3758,8 @@ public class OrderServiceImpl implements IOrderService {
mechanicLongitude = data.getString("longitude"); mechanicLongitude = data.getString("longitude");
mechanicLatitude = data.getString("latitude"); mechanicLatitude = data.getString("latitude");
} }
logger.info(
"技工最新坐标经纬度----mechanicLongitude:" + mechanicLongitude + ",mechanicLatitude" + mechanicLatitude);
if (!StringUtils.isEmpty(mechanicLongitude)) { if (!StringUtils.isEmpty(mechanicLongitude)) {
// 技工坐标 // 技工坐标
...@@ -3776,7 +3777,7 @@ public class OrderServiceImpl implements IOrderService { ...@@ -3776,7 +3777,7 @@ public class OrderServiceImpl implements IOrderService {
if (null != orderAddress) { if (null != orderAddress) {
orderAddressMap = AMapUtils.parseAddress(orderAddress); orderAddressMap = AMapUtils.parseAddress(orderAddress);
} }
logger.info("计算技工订单距离时的----订单地址:" + orderAddress);
if (null != orderAddressMap && orderAddressMap.containsKey("latitude")) { if (null != orderAddressMap && orderAddressMap.containsKey("latitude")) {
// 订单坐标 // 订单坐标
source = new GlobalCoordinates(Double.parseDouble(orderAddressMap.get("latitude")), source = new GlobalCoordinates(Double.parseDouble(orderAddressMap.get("latitude")),
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!