generated from root/miduo_server
42 lines
2.1 KiB
Java
42 lines
2.1 KiB
Java
package com.jmfy.dao;
|
|
|
|
|
|
import com.jmfy.model.*;
|
|
import org.springframework.data.mongodb.core.query.Query;
|
|
import org.springframework.data.mongodb.core.query.Update;
|
|
|
|
import java.util.List;
|
|
import java.util.Map;
|
|
|
|
public interface ServerInfoDao {
|
|
List<ServerInfo> getAllServerInfo() throws Exception;
|
|
List<ServerInfo> getServerInfoOfSubChannel(String subChannel) throws Exception;
|
|
List<ServerInfo> getServerInfoOfSlaveServer(int isSlaveServer) throws Exception;
|
|
Map<String,ServerInfo> getAllServerMap() throws Exception;
|
|
List<gameName> getAllGameInfo() throws Exception;
|
|
ServerInfo getServerInfo(String id) throws Exception;
|
|
void closeServerWhite(String server_id) throws Exception;
|
|
void openServerWhite(String server_id) throws Exception;
|
|
void updateServerInfo(String server_id, int status,int isWhite,int isnew,String name,String register_state) throws Exception;
|
|
void updateServerInfo(ServerInfo serverInfo) throws Exception;
|
|
void updateOpenServerTime(CServerOpenTime cServerOpenTime,String serverId) throws Exception;
|
|
void updateServerInfo(String server_id, String status) throws Exception;
|
|
CServerOpenTime getOpenServerTime(String serverId) throws Exception;
|
|
void updateOpenServerTime(String serverId, String openTime) throws Exception;
|
|
long getRegisterNum(String server_id) throws Exception;
|
|
long getOnlineNum(String server_id);
|
|
void addServerInfo(ServerInfo serverInfo) throws Exception;
|
|
String getAllServerName(String server_Ids) throws Exception;
|
|
void deleteServer(String serverId) throws Exception;
|
|
ServerAreaInfoManager findServerArenaInfoManager() throws Exception;
|
|
void addServerArenaInfoManager(ServerAreaInfoManager serverAreaInfoManager) throws Exception;
|
|
void updateServerArenaInfoManager(Query query, Update update) throws Exception;
|
|
|
|
// 自动开服
|
|
List<AssSetting> findAllAssSettingInfo() throws Exception;
|
|
AssSetting findAssSettingInfo(String id) throws Exception;
|
|
void updateAssSettingInfo(AssSetting assSetting) throws Exception;
|
|
void insertAssSettingInfo(AssSetting assSetting) throws Exception;
|
|
void deleteAssSettingInfo(String id) throws Exception;
|
|
}
|