select channel_id, channel_num, video_address, protocol_type, channel_details, del_flag, create_by, create_time, update_by, update_time, remark from channel_number insert into channel_number channel_num, video_address, protocol_type, channel_details, del_flag, create_by, create_time, update_by, update_time, remark, #{channelNum}, #{videoAddress}, #{protocolType}, #{channelDetails}, #{delFlag}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, #{remark}, update channel_number channel_num = #{channelNum}, video_address = #{videoAddress}, protocol_type = #{protocolType}, channel_details = #{channelDetails}, del_flag = #{delFlag}, create_by = #{createBy}, create_time = #{createTime}, update_by = #{updateBy}, update_time = #{updateTime}, remark = #{remark}, where channel_id = #{channelId} delete from channel_number where channel_id = #{channelId} delete from channel_number where channel_id in #{channelId}