Merge pull request #1652 from Klu5ure/master

修复设备通道SQL查询中的字段名错误
This commit is contained in:
648540858
2024-10-21 11:01:34 +08:00
committed by GitHub

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);