id, name, backend_id, is_public, dc_name, vim_id, vim_name, physicial_net, ns_id,
ns_name, description, network_type, segmentation, mtu, vlan_transparent, router_external,
resource_provider_type, resource_provider_id
delete from vl
where id = #{id,jdbcType=VARCHAR}
insert into vl (id, name, backend_id,
is_public, dc_name, vim_id,
vim_name, physicial_net, ns_id,
ns_name, description, network_type,
segmentation, mtu, vlan_transparent,
router_external, resource_provider_type, resource_provider_id
)
values (#{id,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, #{backendId,jdbcType=VARCHAR},
#{isPublic,jdbcType=VARCHAR}, #{dcName,jdbcType=VARCHAR}, #{vimId,jdbcType=VARCHAR},
#{vimName,jdbcType=VARCHAR}, #{physicialNet,jdbcType=VARCHAR}, #{nsId,jdbcType=VARCHAR},
#{nsName,jdbcType=VARCHAR}, #{description,jdbcType=VARCHAR}, #{networkType,jdbcType=VARCHAR},
#{segmentation,jdbcType=VARCHAR}, #{mtu,jdbcType=VARCHAR}, #{vlanTransparent,jdbcType=VARCHAR},
#{routerExternal,jdbcType=VARCHAR}, #{resourceProviderType,jdbcType=VARCHAR}, #{resourceProviderId,jdbcType=VARCHAR}
)
insert into vl
id,
name,
backend_id,
is_public,
dc_name,
vim_id,
vim_name,
physicial_net,
ns_id,
ns_name,
description,
network_type,
segmentation,
mtu,
vlan_transparent,
router_external,
resource_provider_type,
resource_provider_id,
#{id,jdbcType=VARCHAR},
#{name,jdbcType=VARCHAR},
#{backendId,jdbcType=VARCHAR},
#{isPublic,jdbcType=VARCHAR},
#{dcName,jdbcType=VARCHAR},
#{vimId,jdbcType=VARCHAR},
#{vimName,jdbcType=VARCHAR},
#{physicialNet,jdbcType=VARCHAR},
#{nsId,jdbcType=VARCHAR},
#{nsName,jdbcType=VARCHAR},
#{description,jdbcType=VARCHAR},
#{networkType,jdbcType=VARCHAR},
#{segmentation,jdbcType=VARCHAR},
#{mtu,jdbcType=VARCHAR},
#{vlanTransparent,jdbcType=VARCHAR},
#{routerExternal,jdbcType=VARCHAR},
#{resourceProviderType,jdbcType=VARCHAR},
#{resourceProviderId,jdbcType=VARCHAR},
update vl
name = #{name,jdbcType=VARCHAR},
backend_id = #{backendId,jdbcType=VARCHAR},
is_public = #{isPublic,jdbcType=VARCHAR},
dc_name = #{dcName,jdbcType=VARCHAR},
vim_id = #{vimId,jdbcType=VARCHAR},
vim_name = #{vimName,jdbcType=VARCHAR},
physicial_net = #{physicialNet,jdbcType=VARCHAR},
ns_id = #{nsId,jdbcType=VARCHAR},
ns_name = #{nsName,jdbcType=VARCHAR},
description = #{description,jdbcType=VARCHAR},
network_type = #{networkType,jdbcType=VARCHAR},
segmentation = #{segmentation,jdbcType=VARCHAR},
mtu = #{mtu,jdbcType=VARCHAR},
vlan_transparent = #{vlanTransparent,jdbcType=VARCHAR},
router_external = #{routerExternal,jdbcType=VARCHAR},
resource_provider_type = #{resourceProviderType,jdbcType=VARCHAR},
resource_provider_id = #{resourceProviderId,jdbcType=VARCHAR},
where id = #{id,jdbcType=VARCHAR}
update vl
set name = #{name,jdbcType=VARCHAR},
backend_id = #{backendId,jdbcType=VARCHAR},
is_public = #{isPublic,jdbcType=VARCHAR},
dc_name = #{dcName,jdbcType=VARCHAR},
vim_id = #{vimId,jdbcType=VARCHAR},
vim_name = #{vimName,jdbcType=VARCHAR},
physicial_net = #{physicialNet,jdbcType=VARCHAR},
ns_id = #{nsId,jdbcType=VARCHAR},
ns_name = #{nsName,jdbcType=VARCHAR},
description = #{description,jdbcType=VARCHAR},
network_type = #{networkType,jdbcType=VARCHAR},
segmentation = #{segmentation,jdbcType=VARCHAR},
mtu = #{mtu,jdbcType=VARCHAR},
vlan_transparent = #{vlanTransparent,jdbcType=VARCHAR},
router_external = #{routerExternal,jdbcType=VARCHAR},
resource_provider_type = #{resourceProviderType,jdbcType=VARCHAR},
resource_provider_id = #{resourceProviderId,jdbcType=VARCHAR}
where id = #{id,jdbcType=VARCHAR}