r.cfg_id,r.cfg_desc,r.res_group_1_id,
r.res_group_1_num,r.res_group_2_id,r.res_group_2_num,r.res_group_3_id
,r.res_group_3_num,r.res_group_4_id,r.res_group_4_num
,r.res_group_5_id,r.res_group_5_num,r.min_ttl
,r.max_ttl,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.is_area_effective,r.classify,r.attribute,r.lable
,r.area_effective_ids,r.function_id,r.cfg_region_code,r.compile_id
insert into dns_res_strategy (
CFG_ID,
CFG_DESC,
ACTION,
IS_VALID,
IS_AUDIT,
CREATOR_ID,
CREATE_TIME,
EDITOR_ID,
EDIT_TIME,
AUDITOR_ID,
AUDIT_TIME,
SERVICE_ID,
REQUEST_ID,
IS_AREA_EFFECTIVE,
CLASSIFY,
ATTRIBUTE,
LABLE,
AREA_EFFECTIVE_IDS,
function_id,
res_group_1_id,
res_group_1_num,
res_group_2_id,
res_group_2_num,
res_group_3_id,
res_group_3_num,
res_group_4_id,
res_group_4_num,
res_group_5_id,
res_group_5_num,
min_ttl,
max_ttl,
cfg_type,
compile_Id,
cfg_region_code
)values (
#{cfgId,jdbcType=VARCHAR},
#{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},
#{isAreaEffective,jdbcType=INTEGER},
#{classify,jdbcType=VARCHAR},
#{attribute,jdbcType=VARCHAR},
#{lable,jdbcType=VARCHAR},
#{areaEffectiveIds,jdbcType=VARCHAR},
#{functionId,jdbcType=INTEGER},
#{resGroup1Id,jdbcType=INTEGER},
#{resGroup1Num,jdbcType=INTEGER},
#{resGroup2Id,jdbcType=INTEGER},
#{resGroup2Num,jdbcType=INTEGER},
#{resGroup3Id,jdbcType=INTEGER},
#{resGroup3Num,jdbcType=INTEGER},
#{resGroup4Id,jdbcType=INTEGER},
#{resGroup4Num,jdbcType=INTEGER},
#{resGroup5Id,jdbcType=INTEGER},
#{resGroup5Num,jdbcType=INTEGER},
#{minTtl,jdbcType=INTEGER},
#{maxTtl,jdbcType=INTEGER},
#{cfgType,jdbcType=VARCHAR},
#{compileId,jdbcType=INTEGER},
#{cfgRegionCode,jdbcType=INTEGER}
)
update dns_res_strategy
cfg_desc = #{cfgDesc,jdbcType=VARCHAR},
compile_Id = #{compileId,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},
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},
res_group_1_id = #{resGroup1Id,jdbcType=INTEGER},
res_group_1_num = #{resGroup1Num,jdbcType=INTEGER},
res_group_2_id = #{resGroup2Id,jdbcType=INTEGER},
res_group_2_num = #{resGroup2Num,jdbcType=INTEGER},
res_group_3_id = #{resGroup3Id,jdbcType=INTEGER},
res_group_3_num = #{resGroup3Num,jdbcType=INTEGER},
res_group_4_id = #{resGroup4Id,jdbcType=INTEGER},
res_group_4_num = #{resGroup4Num,jdbcType=INTEGER},
res_group_5_id = #{resGroup5Id,jdbcType=INTEGER},
res_group_5_num = #{resGroup5Num,jdbcType=INTEGER},
min_ttl = #{minTtl,jdbcType=INTEGER},
max_ttl = #{maxTtl,jdbcType=INTEGER},
and cfg_id = #{cfgId,jdbcType=INTEGER}
and function_id = #{functionId,jdbcType=INTEGER}