mirror of
https://gitee.com/pan648540858/wvp-GB28181-pro.git
synced 2026-05-22 13:27:52 +08:00
Merge pull request #783 from StreamLuna/wvp-28181-2.0
fix: 根据国标设备编号查询设备没有返回通道数
This commit is contained in:
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
Block a user