From 89648af1c3dd5d7b5ddcaa588df5609308eb3dcb Mon Sep 17 00:00:00 2001 From: 648540858 <648540858@qq.com> Date: Sun, 5 Jun 2022 12:44:30 +0800 Subject: [PATCH] #508 --- .../com/genersoft/iot/vmp/storager/dao/DeviceChannelMapper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/genersoft/iot/vmp/storager/dao/DeviceChannelMapper.java b/src/main/java/com/genersoft/iot/vmp/storager/dao/DeviceChannelMapper.java index c3b94f68..6db08d1b 100644 --- a/src/main/java/com/genersoft/iot/vmp/storager/dao/DeviceChannelMapper.java +++ b/src/main/java/com/genersoft/iot/vmp/storager/dao/DeviceChannelMapper.java @@ -67,7 +67,7 @@ public interface DeviceChannelMapper { " AND dc.status=0" + " AND dc.subCount > 0 " + " AND dc.subCount = 0 " + - "GROUP BY dc.channelId " + + "ORDER BY dc.channelId " + " "}) List queryChannels(String deviceId, String parentChannelId, String query, Boolean hasSubChannel, Boolean online);