Merge pull request #783 from StreamLuna/wvp-28181-2.0

fix: 根据国标设备编号查询设备没有返回通道数
This commit is contained in:
648540858 2023-03-21 17:23:38 +08:00 committed by GitHub
commit bcc372643e

View File

@ -42,7 +42,8 @@ public interface DeviceMapper {
"asMessageChannel," +
"geoCoordSys," +
"treeType," +
"online" +
"online," +
"(SELECT count(0) FROM device_channel WHERE deviceId=device.deviceId) as channelCount "+
" FROM device WHERE deviceId = #{deviceId}")
Device getDeviceByDeviceId(String deviceId);