src/main/java/com/genersoft/iot/vmp/service/impl/DeviceChannelServiceImpl.java
@@ -45,6 +45,8 @@ device = deviceMapper.getDeviceByDeviceId(deviceChannel.getDeviceId()); } if ("WGS84".equals(device.getGeoCoordSys())) { deviceChannel.setLongitudeWgs84(deviceChannel.getLongitude()); deviceChannel.setLatitudeWgs84(deviceChannel.getLatitude()); @@ -204,4 +206,9 @@ return true; } @Override public List<Device> getDeviceByChannelId(String channelId) { return channelMapper.getDeviceByChannelId(channelId); } }