id, group_name, context_path, host_id, host_ip, host_port, expire_at, node_type,create_dt,update_dt
INSERT INTO server_node (group_name, host_id, host_ip, host_port,
expire_at, node_type, ext_attrs, context_path, create_dt)
VALUES (#{groupName}, #{hostId}, #{hostIp}, #{hostPort},
#{expireAt}, #{nodeType}, #{extAttrs}, #{contextPath}, #{createDt})
ON CONFLICT (host_id, host_ip) DO UPDATE SET expire_at = EXCLUDED.expire_at
delete
from server_node
where expire_at <= #{endTime,jdbcType=TIMESTAMP}