fix: 根据国标设备编号查询设备没有返回通道数
parent
782300452c
commit
eb173b1b24
|
@ -42,7 +42,8 @@ public interface DeviceMapper {
|
||||||
"asMessageChannel," +
|
"asMessageChannel," +
|
||||||
"geoCoordSys," +
|
"geoCoordSys," +
|
||||||
"treeType," +
|
"treeType," +
|
||||||
"online" +
|
"online," +
|
||||||
|
"(SELECT count(0) FROM device_channel WHERE deviceId=device.deviceId) as channelCount "+
|
||||||
" FROM device WHERE deviceId = #{deviceId}")
|
" FROM device WHERE deviceId = #{deviceId}")
|
||||||
Device getDeviceByDeviceId(String deviceId);
|
Device getDeviceByDeviceId(String deviceId);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue