From 69734af3ba008f80ea5f9c864deb0e34144c8db3 Mon Sep 17 00:00:00 2001
From: 648540858 <18010473990@163.com>
Date: 星期五, 10 九月 2021 14:06:01 +0800
Subject: [PATCH] #154

---
 src/main/java/com/genersoft/iot/vmp/storager/dao/DeviceChannelMapper.java |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

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 45b5ab7..f7b89a9 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
@@ -102,4 +102,7 @@
             " </script>"})
 
     List<ChannelReduce> queryChannelListInAll(String query, Boolean online, Boolean hasSubChannel, String platformId, Boolean inPlatform);
+
+    @Select("SELECT * FROM device_channel WHERE channelId=#{channelId}")
+    List<DeviceChannel> queryChannelByChannelId(String channelId);
 }

--
Gitblit v1.8.0