package com.jmfy.dao; import com.jmfy.model.CServerOpenTime; import com.jmfy.model.ServerInfo; import java.util.List; public interface ServerInfoDao { List getAllServerInfo() throws Exception; ServerInfo getServerinfo(int id) throws Exception; void closeServerWhite(int server_id) throws Exception; void openServerWhite(int server_id) throws Exception; void updateServerInfo(int server_id, int status,int isWhite,int isCommend) throws Exception; void updateOpenServerTime(CServerOpenTime cServerOpenTime) throws Exception; CServerOpenTime getOpenServerTime(int serverId) throws Exception; void addOpenServerTime(CServerOpenTime cServerOpenTime) throws Exception; long getRegisterNum(int server_id) throws Exception; long getOnlineNum(int server_id); }