修复通道列表音频开关

This commit is contained in:
648540858
2024-09-19 10:03:32 +08:00
parent 2f9dc36405
commit 91c4677de4
6 changed files with 28 additions and 43 deletions

View File

@@ -982,4 +982,10 @@ public interface DeviceChannelMapper {
" </script>"})
List<DeviceChannel> getByDeviceId(@Param("deviceDbId") int deviceDbId);
@Update(value = {" <script>" +
"UPDATE wvp_device_channel " +
"SET has_audio=#{audio}" +
" WHERE id=#{channelId}" +
" </script>"})
void changeAudio(@Param("channelId") int channelId, @Param("audio") boolean audio);
}