oid, id, name, description, table_name, revision_rule_id, revision_rule_name,revision_flag,
revision_sep, input_revision_flag, secret_flag, abstract_flag, impl_class, shape,life_cycle_flag, life_cycle_id,life_cycle_name,
version_rule,sub_life_cycle_id,sub_life_cycle_name, view_flag, view_create_sql,btm_name, owner, creator, create_time, last_modifier,
last_modify_time, ts,domain,consistence
pl_omd_btm_type
insert into (
)
(
select #{item.oid,jdbcType=VARCHAR},
#{item.id,jdbcType=VARCHAR},
#{item.name,jdbcType=VARCHAR},
#{item.description,jdbcType=VARCHAR},
#{item.tableName,jdbcType=VARCHAR},
#{item.revisionRuleId,jdbcType=VARCHAR},
#{item.revisionRuleName,jdbcType=VARCHAR},
#{item.revisionFlag,jdbcType=VARCHAR},
#{item.revisionSep,jdbcType=VARCHAR},
#{item.inputRevisionFlag,jdbcType=VARCHAR},
#{item.secretFlag,jdbcType=VARCHAR},
#{item.abstractFlag,jdbcType=VARCHAR},
#{item.implClass,jdbcType=VARCHAR},
#{item.shape,jdbcType=VARCHAR},
#{item.lifeCycleFlag,jdbcType=VARCHAR},
#{item.lifeCycleId,jdbcType=VARCHAR},
#{item.lifeCycleName,jdbcType=VARCHAR},
#{item.versionRule,jdbcType=VARCHAR},
#{item.subLifeCycleId,jdbcType=VARCHAR},
#{item.subLifeCycleName,jdbcType=VARCHAR},
#{item.viewFlag,jdbcType=VARCHAR},
#{item.viewCreateSql,jdbcType=VARCHAR},
#{item.btmName,jdbcType=VARCHAR },
#{item.owner,jdbcType=VARCHAR },
#{item.creator,jdbcType=VARCHAR},
#{item.createTime,jdbcType=TIMESTAMP},
#{item.lastModifier,jdbcType=VARCHAR},
#{item.lastModifyTime,jdbcType=TIMESTAMP},
#{item.ts,jdbcType=TIMESTAMP},
#{item.domain,jdbcType=VARCHAR},
#{item.consistence,jdbcType=VARCHAR}
from dual
)
delete from
where OID = #{oid,jdbcType=VARCHAR}
update
set id = #{id,jdbcType=VARCHAR},
name = #{name,jdbcType=VARCHAR},
description = #{description,jdbcType=VARCHAR},
table_name = #{tableName,jdbcType=VARCHAR},
revision_rule_id = #{revisionRuleId,jdbcType=VARCHAR},
revision_flag = #{revisionFlag,jdbcType=VARCHAR},
revision_rule_name = #{revisionRuleName,jdbcType=VARCHAR},
revision_sep = #{revisionSep,jdbcType=VARCHAR},
input_revision_flag = #{inputRevisionFlag,jdbcType=VARCHAR},
secret_flag = #{secretFlag,jdbcType=VARCHAR},
abstract_flag = #{abstractFlag,jdbcType=VARCHAR},
impl_class = #{implClass,jdbcType=VARCHAR},
shape = #{shape,jdbcType=VARCHAR},
life_cycle_flag = #{lifeCycleFlag,jdbcType=VARCHAR},
life_cycle_id = #{lifeCycleId,jdbcType=VARCHAR},
life_cycle_name = #{lifeCycleName,jdbcType=VARCHAR},
version_rule = #{versionRule,jdbcType=VARCHAR},
sub_life_cycle_id = #{subLifeCycleId,jdbcType=VARCHAR},
sub_life_cycle_name = #{subLifeCycleName,jdbcType=VARCHAR},
view_flag = #{viewFlag,jdbcType=VARCHAR},
view_create_sql = #{viewCreateSql,jdbcType=VARCHAR},
btm_name =#{btmName,jdbcType=VARCHAR },
owner = #{owner,jdbcType=VARCHAR },
creator = #{creator,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
last_modifier = #{lastModifier,jdbcType=VARCHAR},
last_modify_time = #{lastModifyTime,jdbcType=TIMESTAMP},
ts = #{ts,jdbcType=TIMESTAMP},
domain = #{domain,jdbcType=VARCHAR},
consistence = #{consistence,jdbcType=VARCHAR}
where OID = #{oid,jdbcType=VARCHAR}
delete from
#{item,jdbcType=VARCHAR}
,