r.CFG_ID,r.CFG_DESC,r.ACTION,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_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.cfg_id,r.cfg_desc,r.district,r.cfg_keywords,r.cfg_type, r.action,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.expr_type,r.match_method,r.is_hexbin,r.area_effective_ids,r.function_id,r.cfg_region_code SELECT LAST_INSERT_ID() insert into cfg_index_info( 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 )values ( #{cfg.cfgDesc,jdbcType=VARCHAR}, #{cfg.action,jdbcType=INTEGER}, 0, 0, #{cfg.creatorId,jdbcType=INTEGER}, #{cfg.createTime,jdbcType=TIMESTAMP}, #{cfg.editorId,jdbcType=INTEGER}, #{cfg.editTime,jdbcType=TIMESTAMP}, #{cfg.auditorId,jdbcType=INTEGER}, #{cfg.auditTime,jdbcType=TIMESTAMP}, #{cfg.serviceId,jdbcType=INTEGER}, #{cfg.requestId,jdbcType=INTEGER}, #{cfg.compileId,jdbcType=INTEGER}, #{cfg.isAreaEffective,jdbcType=INTEGER}, #{cfg.classify,jdbcType=VARCHAR}, #{cfg.attribute,jdbcType=VARCHAR}, #{cfg.lable,jdbcType=VARCHAR}, #{cfg.areaEffectiveIds,jdbcType=VARCHAR}, #{cfg.functionId,jdbcType=INTEGER} ) SELECT LAST_INSERT_ID() insert into av_voip_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 )values ( #{cfg.cfgDesc,jdbcType=VARCHAR}, #{cfg.action,jdbcType=INTEGER}, 0, 0, #{cfg.creatorId,jdbcType=INTEGER}, #{cfg.createTime,jdbcType=TIMESTAMP}, #{cfg.editorId,jdbcType=INTEGER}, #{cfg.editTime,jdbcType=TIMESTAMP}, #{cfg.auditorId,jdbcType=INTEGER}, #{cfg.auditTime,jdbcType=TIMESTAMP}, #{cfg.serviceId,jdbcType=INTEGER}, #{cfg.requestId,jdbcType=INTEGER}, #{cfg.compileId,jdbcType=INTEGER}, #{cfg.isAreaEffective,jdbcType=INTEGER}, #{cfg.classify,jdbcType=VARCHAR}, #{cfg.attribute,jdbcType=VARCHAR}, #{cfg.lable,jdbcType=VARCHAR}, #{cfg.areaEffectiveIds,jdbcType=VARCHAR}, #{cfg.functionId,jdbcType=INTEGER}, #{cfg.voipIp.ipType,jdbcType=INTEGER}, #{cfg.voipIp.srcIpAddress,jdbcType=VARCHAR}, #{cfg.voipIp.ipPattern,jdbcType=INTEGER}, #{cfg.voipIp.portPattern,jdbcType=INTEGER}, #{cfg.voipIp.srcPort,jdbcType=VARCHAR}, #{cfg.voipIp.protocol,jdbcType=INTEGER}, #{cfg.voipIp.protocolId,jdbcType=INTEGER}, #{cfg.voipIp.direction,jdbcType=INTEGER}, #{cfg.voipIp.destPort,jdbcType=VARCHAR}, #{cfg.voipIp.destIpAddress,jdbcType=VARCHAR}, #{cfg.voipIp.cfgType,jdbcType=VARCHAR}, #{cfg.voipIp.cfgRegionCode,jdbcType=INTEGER} ) SELECT LAST_INSERT_ID() insert into av_voip_account_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, district, cfg_keywords, cfg_type, cfg_region_code, expr_type, match_method, is_hexbin )values ( #{cfg.cfgDesc,jdbcType=VARCHAR}, #{cfg.action,jdbcType=INTEGER}, 0, 0, #{cfg.creatorId,jdbcType=INTEGER}, #{cfg.createTime,jdbcType=TIMESTAMP}, #{cfg.editorId,jdbcType=INTEGER}, #{cfg.editTime,jdbcType=TIMESTAMP}, #{cfg.auditorId,jdbcType=INTEGER}, #{cfg.auditTime,jdbcType=TIMESTAMP}, #{cfg.serviceId,jdbcType=INTEGER}, #{cfg.requestId,jdbcType=INTEGER}, #{cfg.compileId,jdbcType=INTEGER}, #{cfg.isAreaEffective,jdbcType=INTEGER}, #{cfg.classify,jdbcType=VARCHAR}, #{cfg.attribute,jdbcType=VARCHAR}, #{cfg.lable,jdbcType=VARCHAR}, #{cfg.areaEffectiveIds,jdbcType=VARCHAR}, #{cfg.functionId,jdbcType=INTEGER}, #{cfg.voipAccount.district,jdbcType=VARCHAR}, #{cfg.voipAccount.cfgKeywords,jdbcType=VARCHAR}, #{cfg.voipAccount.cfgType,jdbcType=VARCHAR}, #{cfg.voipAccount.cfgRegionCode,jdbcType=INTEGER}, #{cfg.voipAccount.exprType,jdbcType=INTEGER}, #{cfg.voipAccount.matchMethod,jdbcType=INTEGER}, #{cfg.voipAccount.isHexbin,jdbcType=INTEGER} ) update cfg_index_info cfg_desc = #{cfg.cfgDesc,jdbcType=VARCHAR}, action = #{cfg.action,jdbcType=INTEGER}, is_valid = #{cfg.isValid,jdbcType=INTEGER}, is_audit = #{cfg.isAudit,jdbcType=INTEGER}, editor_id = #{cfg.editorId,jdbcType=INTEGER}, edit_time = #{cfg.editTime,jdbcType=TIMESTAMP}, AUDITOR_ID = #{cfg.auditorId,jdbcType=INTEGER}, AUDIT_TIME = #{cfg.auditTime,jdbcType=TIMESTAMP}, COMPILE_ID = #{cfg.compileId,jdbcType=TIMESTAMP}, request_id = #{cfg.requestId,jdbcType=INTEGER}, is_area_effective = #{cfg.isAreaEffective,jdbcType=INTEGER}, classify = #{cfg.classify,jdbcType=VARCHAR}, attribute = #{cfg.attribute,jdbcType=VARCHAR}, lable = #{cfg.lable,jdbcType=VARCHAR}, area_effective_ids = #{cfg.areaEffectiveIds,jdbcType=VARCHAR}, function_id = #{cfg.functionId,jdbcType=INTEGER}, service_id = #{cfg.serviceId,jdbcType=INTEGER}, and cfg_id = #{cfg.cfgId,jdbcType=INTEGER} and compile_id = #{cfg.compileId,jdbcType=INTEGER} and function_id = #{cfg.functionId,jdbcType=INTEGER} update av_voip_ip_cfg cfg_desc = #{cfg.cfgDesc,jdbcType=VARCHAR}, action = #{cfg.action,jdbcType=INTEGER}, is_valid = #{cfg.isValid,jdbcType=INTEGER}, is_audit = #{cfg.isAudit,jdbcType=INTEGER}, editor_id = #{cfg.editorId,jdbcType=INTEGER}, edit_time = #{cfg.editTime,jdbcType=TIMESTAMP}, AUDITOR_ID = #{cfg.auditorId,jdbcType=INTEGER}, AUDIT_TIME = #{cfg.auditTime,jdbcType=TIMESTAMP}, COMPILE_ID = #{cfg.compileId,jdbcType=TIMESTAMP}, request_id = #{cfg.requestId,jdbcType=INTEGER}, is_area_effective = #{cfg.isAreaEffective,jdbcType=INTEGER}, classify = #{cfg.classify,jdbcType=VARCHAR}, attribute = #{cfg.attribute,jdbcType=VARCHAR}, lable = #{cfg.lable,jdbcType=VARCHAR}, area_effective_ids = #{cfg.areaEffectiveIds,jdbcType=VARCHAR}, function_id = #{cfg.functionId,jdbcType=INTEGER}, service_id = #{cfg.serviceId,jdbcType=INTEGER}, ip_type = #{cfg.voipIp.ipType,jdbcType=INTEGER}, src_ip_address = #{cfg.voipIp.srcIpAddress,jdbcType=VARCHAR}, ip_pattern = #{cfg.voipIp.ipPattern,jdbcType=INTEGER}, port_pattern = #{cfg.voipIp.portPattern,jdbcType=INTEGER}, src_port = #{cfg.voipIp.srcPort,jdbcType=VARCHAR}, protocol = #{cfg.voipIp.protocol,jdbcType=INTEGER}, protocol_id = #{cfg.voipIp.protocolId,jdbcType=INTEGER}, direction = #{cfg.voipIp.direction,jdbcType=INTEGER}, dest_port = #{cfg.voipIp.destPort,jdbcType=VARCHAR}, dest_ip_address = #{cfg.voipIp.destIpAddress,jdbcType=VARCHAR}, cfg_type = #{cfg.voipIp.cfgType,jdbcType=VARCHAR}, cfg_region_code = #{cfg.voipIp.cfgRegionCode,jdbcType=INTEGER}, and cfg_id = #{cfg.voipIp.cfgId,jdbcType=INTEGER} and compile_id = #{cfg.compileId,jdbcType=INTEGER} and function_id = #{cfg.functionId,jdbcType=INTEGER} update av_voip_account_cfg cfg_desc = #{cfg.cfgDesc,jdbcType=VARCHAR}, action = #{cfg.action,jdbcType=INTEGER}, is_valid = #{cfg.isValid,jdbcType=INTEGER}, is_audit = #{cfg.isAudit,jdbcType=INTEGER}, editor_id = #{cfg.editorId,jdbcType=INTEGER}, edit_time = #{cfg.editTime,jdbcType=TIMESTAMP}, AUDITOR_ID = #{cfg.auditorId,jdbcType=INTEGER}, AUDIT_TIME = #{cfg.auditTime,jdbcType=TIMESTAMP}, COMPILE_ID = #{cfg.compileId,jdbcType=TIMESTAMP}, request_id = #{cfg.requestId,jdbcType=INTEGER}, is_area_effective = #{cfg.isAreaEffective,jdbcType=INTEGER}, classify = #{cfg.classify,jdbcType=VARCHAR}, attribute = #{cfg.attribute,jdbcType=VARCHAR}, lable = #{cfg.lable,jdbcType=VARCHAR}, area_effective_ids = #{cfg.areaEffectiveIds,jdbcType=VARCHAR}, function_id = #{cfg.functionId,jdbcType=INTEGER}, service_id = #{cfg.serviceId,jdbcType=INTEGER}, district = #{cfg.voipAccount.district,jdbcType=VARCHAR}, cfg_keywords = #{cfg.voipAccount.cfgKeywords,jdbcType=VARCHAR}, cfg_type = #{cfg.voipAccount.cfgType,jdbcType=VARCHAR}, cfg_region_code = #{cfg.voipAccount.cfgRegionCode,jdbcType=INTEGER}, expr_type = #{cfg.voipAccount.exprType,jdbcType=INTEGER}, match_method = #{cfg.voipAccount.matchMethod,jdbcType=INTEGER}, is_hexbin = #{cfg.voipAccount.isHexbin,jdbcType=INTEGER}, and cfg_id = #{cfg.voipAccount.cfgId,jdbcType=INTEGER} and compile_id = #{cfg.compileId,jdbcType=INTEGER} and function_id = #{cfg.functionId,jdbcType=INTEGER}