select id, name, chan_no, video_code, device_id
from ard_channel
insert into ard_channel
id,name,chan_no,video_code,device_id,rtsp_url,#{id},#{name},#{chanNo},#{videoCode},#{deviceId},#{rtspUrl},
update ard_channel
name = #{name},chan_no = #{chanNo},video_code = #{videoCode},device_id = #{deviceId},rtsp_url = #{rtspUrl},
where id = #{id}
delete
from ard_channel
where id = #{id}
delete from ard_channel where id in
#{id}
delete
from ard_channel
where device_id = #{deviceId}
delete
from ard_channel