select id, client_id, parent_interface, isp, province, city, public_ip, interface_name, mac_address, interface_type, ipv4_address, ipv6_address, gateway, create_time, update_time, create_by, update_by, bind_ip, new_flag from rm_network_interface_child
insert IGNORE into rm_network_interface_child
client_id,
parent_interface,
isp,
province,
city,
public_ip,
interface_name,
mac_address,
interface_type,
ipv4_address,
ipv6_address,
gateway,
create_time,
update_time,
create_by,
update_by,
bind_ip,
new_flag,
#{clientId},
#{parentInterface},
#{isp},
#{province},
#{city},
#{publicIp},
#{interfaceName},
#{macAddress},
#{interfaceType},
#{ipv4Address},
#{ipv6Address},
#{gateway},
#{createTime},
#{updateTime},
#{createBy},
#{updateBy},
#{bindIp},
#{newFlag},
update rm_network_interface_child
client_id = #{clientId},
parent_interface = #{parentInterface},
isp = #{isp},
province = #{province},
city = #{city},
public_ip = #{publicIp},
interface_name = #{interfaceName},
mac_address = #{macAddress},
interface_type = #{interfaceType},
ipv4_address = #{ipv4Address},
ipv6_address = #{ipv6Address},
gateway = #{gateway},
create_time = #{createTime},
update_time = #{updateTime},
create_by = #{createBy},
update_by = #{updateBy},
bind_ip = #{bindIp},
new_flag = #{newFlag},
and id = #{id}
and mac_address = #{macAddress} and client_id = #{clientId}
and 1=0
delete from rm_network_interface_child where id = #{id}
delete from rm_network_interface_child where id in
#{id}
delete from rm_network_interface_child where client_id = #{clientId}