优化通道同步

2.7.0
648540858 2024-12-11 11:40:41 +08:00
parent d4cdf5510b
commit 3de97c2e40
2 changed files with 9 additions and 11 deletions

View File

@ -190,13 +190,13 @@ public class DeviceChannel {
* *
*/ */
@Schema(description = "自定义经度") @Schema(description = "自定义经度")
private double customLongitude; private Double customLongitude;
/** /**
* *
*/ */
@Schema(description = "自定义纬度") @Schema(description = "自定义纬度")
private double customLatitude; private Double customLatitude;
/** /**
* GCJ02 * GCJ02
@ -599,19 +599,19 @@ public class DeviceChannel {
this.streamIdentification = streamIdentification; this.streamIdentification = streamIdentification;
} }
public double getCustomLongitude() { public Double getCustomLongitude() {
return customLongitude; return customLongitude;
} }
public void setCustomLongitude(double customLongitude) { public void setCustomLongitude(Double customLongitude) {
this.customLongitude = customLongitude; this.customLongitude = customLongitude;
} }
public double getCustomLatitude() { public void setCustomLatitude(Double customLatitude) {
return customLatitude;
}
public void setCustomLatitude(double customLatitude) {
this.customLatitude = customLatitude; this.customLatitude = customLatitude;
} }
public Double getCustomLatitude() {
return customLatitude;
}
} }

View File

@ -347,8 +347,6 @@ public interface DeviceChannelMapper {
"<if test='item.hasAudio != null'>, has_audio=#{item.hasAudio}</if>" + "<if test='item.hasAudio != null'>, has_audio=#{item.hasAudio}</if>" +
"<if test='item.longitude != null'>, longitude=#{item.longitude}</if>" + "<if test='item.longitude != null'>, longitude=#{item.longitude}</if>" +
"<if test='item.latitude != null'>, latitude=#{item.latitude}</if>" + "<if test='item.latitude != null'>, latitude=#{item.latitude}</if>" +
"<if test='item.customLongitude != null'>, custom_longitude=#{item.customLongitude}</if>" +
"<if test='item.customLatitude != null'>, custom_latitude=#{item.customLatitude}</if>" +
"<if test='item.longitudeGcj02 != null'>, longitude_gcj02=#{item.longitudeGcj02}</if>" + "<if test='item.longitudeGcj02 != null'>, longitude_gcj02=#{item.longitudeGcj02}</if>" +
"<if test='item.latitudeGcj02 != null'>, latitude_gcj02=#{item.latitudeGcj02}</if>" + "<if test='item.latitudeGcj02 != null'>, latitude_gcj02=#{item.latitudeGcj02}</if>" +
"<if test='item.longitudeWgs84 != null'>, longitude_wgs84=#{item.longitudeWgs84}</if>" + "<if test='item.longitudeWgs84 != null'>, longitude_wgs84=#{item.longitudeWgs84}</if>" +