r.cfg_id,r.cfg_desc,r.ip_type,r.src_ip_address,r.ip_pattern,r.port_pattern,r.src_port ,r.protocol,r.protocol_id,r.direction,r.cfg_type,r.action,r.dest_port,r.dest_ip_address ,r.is_valid,r.is_audit,r.creator_id,r.create_time,r.editor_id ,r.edit_time,r.auditor_id,r.audit_time,r.service_id,r.request_id, r.compile_id,r.is_area_effective,r.classify,r.attribute,r.lable ,r.area_effective_ids,r.function_id,r.cfg_region_code,r.antiddos_protocol,r.bps_threadshold,r.pps_threadshold insert into ddos_ip_cfg ( CFG_DESC, ACTION, IS_VALID, IS_AUDIT, CREATOR_ID, CREATE_TIME, EDITOR_ID, EDIT_TIME, AUDITOR_ID, AUDIT_TIME, SERVICE_ID, REQUEST_ID, COMPILE_ID, IS_AREA_EFFECTIVE, CLASSIFY, ATTRIBUTE, LABLE, AREA_EFFECTIVE_IDS, function_id, ip_type, src_ip_address, ip_pattern, port_pattern, src_port, protocol, protocol_id, direction, dest_port, dest_ip_address, cfg_type, cfg_region_code, antiddos_protocol, bps_threadshold, pps_threadshold )values ( #{cfgDesc,jdbcType=VARCHAR}, #{action,jdbcType=INTEGER}, 0, 0, #{creatorId,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{editorId,jdbcType=INTEGER}, #{editTime,jdbcType=TIMESTAMP}, #{auditorId,jdbcType=INTEGER}, #{auditTime,jdbcType=TIMESTAMP}, #{serviceId,jdbcType=INTEGER}, #{requestId,jdbcType=INTEGER}, #{compileId,jdbcType=INTEGER}, #{isAreaEffective,jdbcType=INTEGER}, #{classify,jdbcType=VARCHAR}, #{attribute,jdbcType=VARCHAR}, #{lable,jdbcType=VARCHAR}, #{areaEffectiveIds,jdbcType=VARCHAR}, #{functionId,jdbcType=INTEGER}, #{ipType,jdbcType=INTEGER}, #{srcIpAddress,jdbcType=VARCHAR}, #{ipPattern,jdbcType=INTEGER}, #{portPattern,jdbcType=INTEGER}, #{srcPort,jdbcType=VARCHAR}, #{protocol,jdbcType=INTEGER}, #{protocolId,jdbcType=INTEGER}, #{direction,jdbcType=INTEGER}, #{destPort,jdbcType=VARCHAR}, #{destIpAddress,jdbcType=VARCHAR}, #{cfgType,jdbcType=VARCHAR}, #{cfgRegionCode,jdbcType=INTEGER}, #{antiddosProtocol,jdbcType=VARCHAR}, #{bpsThreadshold,jdbcType=BIGINT}, #{ppsThreadshold,jdbcType=BIGINT} ) update ddos_ip_cfg cfg_desc = #{cfgDesc,jdbcType=VARCHAR}, action = #{action,jdbcType=INTEGER}, is_valid = #{isValid,jdbcType=INTEGER}, is_audit = #{isAudit,jdbcType=INTEGER}, editor_id = #{editorId,jdbcType=INTEGER}, edit_time = #{editTime,jdbcType=TIMESTAMP}, AUDITOR_ID = #{auditorId,jdbcType=INTEGER}, AUDIT_TIME = #{auditTime,jdbcType=TIMESTAMP}, COMPILE_ID = #{compileId,jdbcType=TIMESTAMP}, request_id = #{requestId,jdbcType=INTEGER}, is_area_effective = #{isAreaEffective,jdbcType=INTEGER}, classify = #{classify,jdbcType=VARCHAR}, attribute = #{attribute,jdbcType=VARCHAR}, lable = #{lable,jdbcType=VARCHAR}, area_effective_ids = #{areaEffectiveIds,jdbcType=VARCHAR}, function_id = #{functionId,jdbcType=INTEGER}, service_id = #{serviceId,jdbcType=INTEGER}, ip_type = #{ipType,jdbcType=INTEGER}, src_ip_address = #{srcIpAddress,jdbcType=VARCHAR}, ip_pattern = #{ipPattern,jdbcType=INTEGER}, port_pattern = #{portPattern,jdbcType=INTEGER}, src_port = #{srcPort,jdbcType=VARCHAR}, protocol = #{protocol,jdbcType=INTEGER}, protocol_id = #{protocolId,jdbcType=INTEGER}, direction = #{direction,jdbcType=INTEGER}, dest_port = #{destPort,jdbcType=VARCHAR}, dest_ip_address = #{destIpAddress,jdbcType=VARCHAR}, cfg_type = #{cfgType,jdbcType=VARCHAR}, cfg_region_code = #{cfgRegionCode,jdbcType=INTEGER}, antiddos_protocol = #{antiddosProtocol,jdbcType=VARCHAR}, bps_threadshold = #{bpsThreadshold,jdbcType=BIGINT}, pps_threadshold = #{ppsThreadshold,jdbcType=BIGINT} and cfg_id = #{cfgId,jdbcType=INTEGER}