修复设备通道SQL查询中的字段名错误

pull/1642/head
Klu5ure 2024-10-11 18:17:55 +08:00
parent 3e0170b164
commit f1161e6973
1 changed files with 1 additions and 1 deletions

View File

@ -378,7 +378,7 @@ public interface DeviceChannelMapper {
" from wvp_device_channel where device_db_id = #{deviceDbId}")
List<DeviceChannel> 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<Device> getDeviceByChannelDeviceId(String channelId);