delete
from sys_svg_info
where node_id = #{nodeId};
insert into sys_svg_info (id, node_id, param, tag)
values (#{info.id}, #{nodeId}, #{info.param}, #{info.tag});
insert into sys_equipmentfile (node_id, filepath)
select #{nodeId}, #{filePath}
on conflict
(node_id)
do update
set filepath = #{filePath}