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.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
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.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
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 (
#{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}
)
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 (
#{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},
#{voipIp.ipType,jdbcType=INTEGER},
#{voipIp.srcIpAddress,jdbcType=VARCHAR},
#{voipIp.ipPattern,jdbcType=INTEGER},
#{voipIp.portPattern,jdbcType=INTEGER},
#{voipIp.srcPort,jdbcType=VARCHAR},
#{voipIp.protocol,jdbcType=INTEGER},
#{voipIp.protocolId,jdbcType=INTEGER},
#{voipIp.direction,jdbcType=INTEGER},
#{voipIp.destPort,jdbcType=VARCHAR},
#{voipIp.destIpAddress,jdbcType=VARCHAR},
#{voipIp.cfgType,jdbcType=VARCHAR},
#{voipIp.cfgRegionCode,jdbcType=INTEGER}
)
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,
cfg_keywords,
cfg_type,
cfg_region_code,
expr_type,
match_method,
is_hexbin
)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},
#{voipAccount.cfgKeywords,jdbcType=VARCHAR},
#{voipAccount.cfgType,jdbcType=VARCHAR},
#{voipAccount.cfgRegionCode,jdbcType=INTEGER},
#{voipAccount.exprType,jdbcType=INTEGER},
#{voipAccount.matchMethod,jdbcType=INTEGER},
#{voipAccount.isHexbin,jdbcType=INTEGER}
)
update cfg_index_info
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},
and cfg_id = #{cfgId,jdbcType=INTEGER}
and compile_id = #{compileId,jdbcType=INTEGER}
and function_id = #{functionId,jdbcType=INTEGER}
update av_voip_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 = #{voipIp.ipType,jdbcType=INTEGER},
src_ip_address = #{voipIp.srcIpAddress,jdbcType=VARCHAR},
ip_pattern = #{voipIp.ipPattern,jdbcType=INTEGER},
port_pattern = #{voipIp.portPattern,jdbcType=INTEGER},
src_port = #{voipIp.srcPort,jdbcType=VARCHAR},
protocol = #{voipIp.protocol,jdbcType=INTEGER},
protocol_id = #{voipIp.protocolId,jdbcType=INTEGER},
direction = #{voipIp.direction,jdbcType=INTEGER},
dest_port = #{voipIp.destPort,jdbcType=VARCHAR},
dest_ip_address = #{voipIp.destIpAddress,jdbcType=VARCHAR},
cfg_type = #{voipIp.cfgType,jdbcType=VARCHAR},
cfg_region_code = #{voipIp.cfgRegionCode,jdbcType=INTEGER},
and cfg_id = #{voipIp.cfgId,jdbcType=INTEGER}
and compile_id = #{compileId,jdbcType=INTEGER}
and function_id = #{functionId,jdbcType=INTEGER}
update av_voip_account_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},
cfg_keywords = #{voipAccount.cfgKeywords,jdbcType=VARCHAR},
cfg_type = #{voipAccount.cfgType,jdbcType=VARCHAR},
cfg_region_code = #{voipAccount.cfgRegionCode,jdbcType=INTEGER},
expr_type = #{voipAccount.exprType,jdbcType=INTEGER},
match_method = #{voipAccount.matchMethod,jdbcType=INTEGER},
is_hexbin = #{voipAccount.isHexbin,jdbcType=INTEGER},
and cfg_id = #{voipAccount.cfgId,jdbcType=INTEGER}
and compile_id = #{compileId,jdbcType=INTEGER}
and function_id = #{functionId,jdbcType=INTEGER}
delete from av_voip_ip_cfg
and cfg_id = #{voipAccount.cfgId,jdbcType=INTEGER}
and compile_id = #{compileId,jdbcType=INTEGER}
and function_id = #{functionId,jdbcType=INTEGER}
delete from av_voip_account_cfg
and cfg_id = #{voipAccount.cfgId,jdbcType=INTEGER}
and compile_id = #{compileId,jdbcType=INTEGER}
and function_id = #{functionId,jdbcType=INTEGER}
insert into ${tableName} (
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 (
#{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}
)
update ${tableName}
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},
and cfg_id = #{cfgId,jdbcType=INTEGER}
and compile_id = #{compileId,jdbcType=INTEGER}
and function_id = #{functionId,jdbcType=INTEGER}
insert into ${tableName} (
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,
cfg_keywords,
expr_type,
match_method,
is_hexbin,
cfg_type,
cfg_region_code
)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},
#{cfgKeywords,jdbcType=VARCHAR},
#{exprType,jdbcType=INTEGER},
#{matchMethod,jdbcType=INTEGER},
#{isHexbin,jdbcType=INTEGER},
#{cfgType,jdbcType=VARCHAR},
#{cfgRegionCode,jdbcType=INTEGER}
)
update ${tableName}
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},
cfg_keywords = #{cfgKeywords,jdbcType=VARCHAR},
expr_type = #{exprType,jdbcType=INTEGER},
match_method = #{matchMethod,jdbcType=INTEGER},
is_hexbin = #{isHexbin,jdbcType=INTEGER},
cfg_type = #{cfgType,jdbcType=VARCHAR},
cfg_region_code = #{cfgRegionCode,jdbcType=INTEGER},
and cfg_id = #{cfgId,jdbcType=INTEGER}
and compile_id = #{compileId,jdbcType=INTEGER}
and function_id = #{functionId,jdbcType=INTEGER}