select network_info_id, res_id, res_type, access_method, bandwidth, ISP_name, IP_address, access_address, content, status, sort, create_at, update_at, del_flag from cs_user_network_info
insert into cs_user_network_info
network_info_id,
res_id,
res_type,
access_method,
bandwidth,
ISP_name,
IP_address,
access_address,
content,
status,
sort,
create_at,
update_at,
del_flag,
#{networkInfoId},
#{resId},
#{resType},
#{accessMethod},
#{bandwidth},
#{ispName},
#{ipAddress},
#{accessAddress},
#{content},
#{status},
#{sort},
#{createAt},
#{updateAt},
#{delFlag},
update cs_user_network_info
res_id = #{resId},
res_type = #{resType},
access_method = #{accessMethod},
bandwidth = #{bandwidth},
ISP_name = #{ispName},
IP_address = #{ipAddress},
access_address = #{accessAddress},
content = #{content},
status = #{status},
sort = #{sort},
create_at = #{createAt},
update_at = #{updateAt},
del_flag = #{delFlag},
where network_info_id = #{networkInfoId}
update cs_user_network_info
set del_flag = '1'
where network_info_id = #{networkInfoId}
update cs_user_network_info
set del_flag = '1'
where network_info_id in
#{networkInfoId}
insert into cs_user_network_info
network_info_id,
res_id,
res_type,
access_method,
bandwidth,
ISP_name,
IP_address,
access_address,
content,
status,
sort,
create_at,
update_at,
del_flag,
#{item.networkInfoId},
#{item.resId},
#{item.resType},
#{item.accessMethod},
#{item.bandwidth},
#{item.ispName},
#{item.ipAddress},
#{item.accessAddress},
#{item.content},
#{item.status},
#{item.sort},
#{item.createAt},
#{item.updateAt},
#{item.delFlag},
update cs_user_network_info
set del_flag = '1'
where
del_flag = '0'
and res_id = #{resId}
and res_type = #{resType}