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

pull/1652/head
Klu5ure 2024-10-11 18:17:55 +08:00
parent 36409eb34c
commit fa8374b68f
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);