吉安感知网项目-后端
linwei
2026-04-07 9ef34071be717671266098812fdfc08fa2cfb2a2
drone-service/drone-gd/src/main/java/org/sxkj/gd/workorder/service/impl/GdManageDeviceServiceImpl.java
@@ -93,6 +93,7 @@
      // 获取设备位置 生成缓冲区
      if (gdManageDeviceEntity.getLongitude() != null && gdManageDeviceEntity.getLatitude() != null) {
         String bufferAroundPointAsString = GeomUtils.getBufferAroundPointAsString(gdManageDeviceEntity.getLongitude(), gdManageDeviceEntity.getLatitude(), 5 * 1000);
         log.info("saveOrUpdateDevice {}", bufferAroundPointAsString);
         gdManageDeviceEntity.setGeom(bufferAroundPointAsString);
         String location = GdGeoAddressUtil.getFormattedAddress(gdManageDeviceEntity.getLongitude(), gdManageDeviceEntity.getLatitude());
         gdManageDeviceEntity.setLocation(location);