pull/517/head
648540858 2022-06-05 12:44:30 +08:00
parent cba2e6b90b
commit 8a362506c6
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ public interface DeviceChannelMapper {
" <if test='online == false' > AND dc.status=0</if>" +
" <if test='hasSubChannel == true' > AND dc.subCount > 0 </if>" +
" <if test='hasSubChannel == false' > AND dc.subCount = 0 </if>" +
"GROUP BY dc.channelId " +
"ORDER BY dc.channelId " +
" </script>"})
List<DeviceChannel> queryChannels(String deviceId, String parentChannelId, String query, Boolean hasSubChannel, Boolean online);