修复sql注入 #1112
parent
18a9f86a0a
commit
76d09bcadb
|
@ -553,7 +553,6 @@ public class PlayServiceImpl implements IPlayService {
|
||||||
// 处理收到200ok后的TCP主动连接以及SSRC不一致的问题
|
// 处理收到200ok后的TCP主动连接以及SSRC不一致的问题
|
||||||
InviteOKHandler(eventResult, ssrcInfo, mediaServerItem, device, channelId,
|
InviteOKHandler(eventResult, ssrcInfo, mediaServerItem, device, channelId,
|
||||||
playBackTimeOutTaskKey, callback, inviteInfo, InviteSessionType.PLAYBACK);
|
playBackTimeOutTaskKey, callback, inviteInfo, InviteSessionType.PLAYBACK);
|
||||||
|
|
||||||
}, errorEvent);
|
}, errorEvent);
|
||||||
} catch (InvalidArgumentException | SipException | ParseException e) {
|
} catch (InvalidArgumentException | SipException | ParseException e) {
|
||||||
logger.error("[命令发送失败] 录像回放: {}", e.getMessage());
|
logger.error("[命令发送失败] 录像回放: {}", e.getMessage());
|
||||||
|
|
|
@ -117,6 +117,6 @@ public interface PlatformChannelMapper {
|
||||||
"where dc.channel_id = #{channelId} and pgc.platform_id=#{platformId}")
|
"where dc.channel_id = #{channelId} and pgc.platform_id=#{platformId}")
|
||||||
List<Device> queryDeviceInfoByPlatformIdAndChannelId(@Param("platformId") String platformId, @Param("channelId") String channelId);
|
List<Device> queryDeviceInfoByPlatformIdAndChannelId(@Param("platformId") String platformId, @Param("channelId") String channelId);
|
||||||
|
|
||||||
@Select("SELECT pgc.platform_id from wvp_platform_gb_channel pgc left join wvp_device_channel dc on dc.id = pgc.device_channel_id WHERE dc.channel_id='${channelId}'")
|
@Select("SELECT pgc.platform_id from wvp_platform_gb_channel pgc left join wvp_device_channel dc on dc.id = pgc.device_channel_id WHERE dc.channel_id=#{channelId}")
|
||||||
List<String> queryParentPlatformByChannelId(String channelId);
|
List<String> queryParentPlatformByChannelId(@Param("channelId") String channelId);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue