[集群-自动切换过国标级联] 添加检测wvp奔溃与重新注册

This commit is contained in:
648540858
2025-01-02 16:16:50 +08:00
parent af04669d49
commit d022eb72d6
8 changed files with 90 additions and 8 deletions

View File

@@ -94,4 +94,7 @@ public interface PlatformMapper {
@Select("SELECT server_id FROM wvp_platform WHERE enable=true and server_id != #{serverId} group by server_id")
List<String> queryServerIdsWithEnable(@Param("serverId") String serverId);
@Select("SELECT * FROM wvp_platform WHERE server_id == #{serverId}")
List<Platform> queryByServerId(@Param("serverId") String serverId);
}