select id, hardware_sn, resource_type, resource_name, description, internal_ip, external_ip, management_port, online_status, connection_method, create_time, update_time, create_by, update_by, client_id, result_flag, script_id from rm_resource_remote
insert into rm_resource_remote
hardware_sn,
resource_type,
resource_name,
description,
internal_ip,
external_ip,
management_port,
online_status,
connection_method,
create_time,
update_time,
create_by,
update_by,
client_id,
result_flag,
script_id,
#{hardwareSn},
#{resourceType},
#{resourceName},
#{description},
#{internalIp},
#{externalIp},
#{managementPort},
#{onlineStatus},
#{connectionMethod},
#{createTime},
#{updateTime},
#{createBy},
#{updateBy},
#{clientId},
#{resultFlag},
#{scriptId},
update rm_resource_remote
hardware_sn = #{hardwareSn},
resource_type = #{resourceType},
resource_name = #{resourceName},
description = #{description},
internal_ip = #{internalIp},
external_ip = #{externalIp},
management_port = #{managementPort},
online_status = #{onlineStatus},
connection_method = #{connectionMethod},
create_time = #{createTime},
update_time = #{updateTime},
create_by = #{createBy},
update_by = #{updateBy},
client_id = #{clientId},
result_flag = #{resultFlag},
script_id = #{scriptId},
where id = #{id}
delete from rm_resource_remote where id = #{id}
delete from rm_resource_remote where id in
#{id}