From fa8374b68f5c676554791463ff2e212b6f9a6b47 Mon Sep 17 00:00:00 2001 From: Klu5ure Date: Fri, 11 Oct 2024 18:17:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=AE=BE=E5=A4=87=E9=80=9A?= =?UTF-8?q?=E9=81=93SQL=E6=9F=A5=E8=AF=A2=E4=B8=AD=E7=9A=84=E5=AD=97?= =?UTF-8?q?=E6=AE=B5=E5=90=8D=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/genersoft/iot/vmp/gb28181/dao/DeviceChannelMapper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/genersoft/iot/vmp/gb28181/dao/DeviceChannelMapper.java b/src/main/java/com/genersoft/iot/vmp/gb28181/dao/DeviceChannelMapper.java index e5c65c41..82b75497 100755 --- a/src/main/java/com/genersoft/iot/vmp/gb28181/dao/DeviceChannelMapper.java +++ b/src/main/java/com/genersoft/iot/vmp/gb28181/dao/DeviceChannelMapper.java @@ -378,7 +378,7 @@ public interface DeviceChannelMapper { " from wvp_device_channel where device_db_id = #{deviceDbId}") List queryAllChannelsForRefresh(@Param("deviceDbId") int deviceDbId); - @Select("select de.* from wvp_device de left join wvp_device_channel dc on de.device_id = dc.deviceId where dc.device_id=#{channelId}") + @Select("select de.* from wvp_device de left join wvp_device_channel dc on de.device_id = dc.device_id where dc.device_id=#{channelId}") List getDeviceByChannelDeviceId(String channelId);