mirror of
https://github.com/648540858/wvp-GB28181-pro.git
synced 2026-05-06 15:22:55 +08:00
优化通道同步
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -347,8 +347,6 @@ public interface DeviceChannelMapper {
|
||||
"<if test='item.hasAudio != null'>, has_audio=#{item.hasAudio}</if>" +
|
||||
"<if test='item.longitude != null'>, longitude=#{item.longitude}</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.latitudeGcj02 != null'>, latitude_gcj02=#{item.latitudeGcj02}</if>" +
|
||||
"<if test='item.longitudeWgs84 != null'>, longitude_wgs84=#{item.longitudeWgs84}</if>" +
|
||||
|
||||
Reference in New Issue
Block a user