添加报警响应、发布和SSE推送功能

This commit is contained in:
Lawrence
2021-01-20 23:31:00 +08:00
parent 2b850ba781
commit abbfef2aef
10 changed files with 211 additions and 16 deletions

View File

@@ -59,6 +59,7 @@ public interface DeviceChannelMapper {
" WHERE 1=1 " +
" <if test=\"hasSubChannel == true\" > AND subCount >0</if>" +
" <if test=\"hasSubChannel == false\" > AND subCount=0</if>" +
" ORDER BY channelId ASC" +
" </script>"})
List<DeviceChannel> queryChannelsByDeviceId(String deviceId, String parentChannelId, String query, Boolean hasSubChannel, Boolean online);