diff --git a/src/main/java/com/genersoft/iot/vmp/gb28181/bean/DeviceChannel.java b/src/main/java/com/genersoft/iot/vmp/gb28181/bean/DeviceChannel.java
index 6e230afef..36c13eea8 100644
--- a/src/main/java/com/genersoft/iot/vmp/gb28181/bean/DeviceChannel.java
+++ b/src/main/java/com/genersoft/iot/vmp/gb28181/bean/DeviceChannel.java
@@ -190,13 +190,13 @@ public class DeviceChannel {
* 经度
*/
@Schema(description = "自定义经度")
- private double customLongitude;
+ private Double customLongitude;
/**
* 纬度
*/
@Schema(description = "自定义纬度")
- private double customLatitude;
+ private Double customLatitude;
/**
* 经度 GCJ02
@@ -599,19 +599,19 @@ public class DeviceChannel {
this.streamIdentification = streamIdentification;
}
- public double getCustomLongitude() {
+ public Double getCustomLongitude() {
return customLongitude;
}
- public void setCustomLongitude(double customLongitude) {
+ public void setCustomLongitude(Double customLongitude) {
this.customLongitude = customLongitude;
}
- public double getCustomLatitude() {
- return customLatitude;
- }
-
- public void setCustomLatitude(double customLatitude) {
+ public void setCustomLatitude(Double customLatitude) {
this.customLatitude = customLatitude;
}
+
+ public Double getCustomLatitude() {
+ return customLatitude;
+ }
}
diff --git a/src/main/java/com/genersoft/iot/vmp/storager/dao/DeviceChannelMapper.java b/src/main/java/com/genersoft/iot/vmp/storager/dao/DeviceChannelMapper.java
index 10d0ee1c5..48efbb789 100755
--- a/src/main/java/com/genersoft/iot/vmp/storager/dao/DeviceChannelMapper.java
+++ b/src/main/java/com/genersoft/iot/vmp/storager/dao/DeviceChannelMapper.java
@@ -347,8 +347,6 @@ public interface DeviceChannelMapper {
", has_audio=#{item.hasAudio}" +
", longitude=#{item.longitude}" +
", latitude=#{item.latitude}" +
- ", custom_longitude=#{item.customLongitude}" +
- ", custom_latitude=#{item.customLatitude}" +
", longitude_gcj02=#{item.longitudeGcj02}" +
", latitude_gcj02=#{item.latitudeGcj02}" +
", longitude_wgs84=#{item.longitudeWgs84}" +