Commit 8a362506c6820410056c001d76acab035324169c

Authored by 648540858
1 parent cba2e6b9

#508

src/main/java/com/genersoft/iot/vmp/storager/dao/DeviceChannelMapper.java
... ... @@ -67,7 +67,7 @@ public interface DeviceChannelMapper {
67 67 " <if test='online == false' > AND dc.status=0</if>" +
68 68 " <if test='hasSubChannel == true' > AND dc.subCount > 0 </if>" +
69 69 " <if test='hasSubChannel == false' > AND dc.subCount = 0 </if>" +
70   - "GROUP BY dc.channelId " +
  70 + "ORDER BY dc.channelId " +
71 71 " </script>"})
72 72 List<DeviceChannel> queryChannels(String deviceId, String parentChannelId, String query, Boolean hasSubChannel, Boolean online);
73 73  
... ...