648540858
2022-06-07 6d4312e383c4d779ab8aa29ea895d741bf617e49
src/main/java/com/genersoft/iot/vmp/storager/dao/DeviceChannelMapper.java
@@ -67,7 +67,7 @@
            " <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);