commit
3e4d2b682c
|
@ -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