修复更新通道是更新各个坐标系德位置信息

This commit is contained in:
648540858
2023-02-15 18:30:35 +08:00
parent 2c7ed82b3e
commit 7be636f8b8
7 changed files with 99 additions and 16 deletions

View File

@@ -357,4 +357,8 @@ public interface DeviceChannelMapper {
@Select("select count(1) as total, sum(status) as online from device_channel")
ResourceBaceInfo getOverview();
@Select("select * from device_channel where deviceId = #{deviceId} " +
"and latitude * longitude > 0 and latitudeGcj02 * latitudeWgs84 * longitudeWgs84 * longitudeGcj02 = 0")
List<DeviceChannel> getChannelsWithoutTransform(String deviceId);
}