insert into links (l_name, l_is_open, l_url, l_icon_path, l_desc, l_email, l_notification, is_delete) values (#{name}, #{open}, #{url}, #{iconPath}, #{desc}, #{email}, #{notification}, false) update links l_is_open=#{open}, l_icon_path=#{iconPath}, l_desc=#{desc}, l_url=#{url}, l_name=#{name}, l_notification=#{notification}, l_email=#{email} where l_id=#{id} update links set is_delete = true where l_id = #{id}