diff --git a/health-watch/health-watch-biz/src/main/java/com/renkang/watch/service/impl/WatchMonitorDataServiceImpl.java b/health-watch/health-watch-biz/src/main/java/com/renkang/watch/service/impl/WatchMonitorDataServiceImpl.java index e0ef558..e9c5906 100644 --- a/health-watch/health-watch-biz/src/main/java/com/renkang/watch/service/impl/WatchMonitorDataServiceImpl.java +++ b/health-watch/health-watch-biz/src/main/java/com/renkang/watch/service/impl/WatchMonitorDataServiceImpl.java @@ -288,8 +288,9 @@ public class WatchMonitorDataServiceImpl extends ServiceImpl ObjUtil.isNotEmpty(value) && value != 0)) { Gps gps = GPS84ToGCJ02(data.getLon(), data.getLat()); if (null != gps) { - monitorDataEntity.setLon(gps.getLongitude()); - monitorDataEntity.setLat(gps.getLatitude()); + //原始值不要改动 +// monitorDataEntity.setLon(gps.getLongitude()); +// monitorDataEntity.setLat(gps.getLatitude()); monitorDataEntity.setLonGd(BigDecimal.valueOf(gps.getLongitude())); monitorDataEntity.setLatGd(BigDecimal.valueOf(gps.getLatitude())); //获取高德地址信息 @@ -340,6 +341,17 @@ public class WatchMonitorDataServiceImpl extends ServiceImpl