2019-04-08 17:29:02 +08:00
|
|
|
package com.jmfy.dao;
|
|
|
|
|
|
|
|
|
2019-06-03 17:22:38 +08:00
|
|
|
import com.jmfy.model.CServerOpenTime;
|
2019-04-08 17:29:02 +08:00
|
|
|
import com.jmfy.model.ServerInfo;
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
public interface ServerInfoDao {
|
|
|
|
List<ServerInfo> getAllServerInfo() throws Exception;
|
|
|
|
|
|
|
|
ServerInfo getServerinfo(int id) throws Exception;
|
|
|
|
|
|
|
|
void closeServerWhite(int server_id) throws Exception;
|
|
|
|
|
|
|
|
void openServerWhite(int server_id) throws Exception;
|
|
|
|
|
2019-05-27 14:26:23 +08:00
|
|
|
void updateServerInfo(int server_id, int status,int isWhite,int isCommend) throws Exception;
|
2019-06-03 17:22:38 +08:00
|
|
|
|
|
|
|
void updateOpenServerTime(CServerOpenTime cServerOpenTime) throws Exception;
|
|
|
|
|
|
|
|
CServerOpenTime getOpenServerTime(int serverId) throws Exception;
|
|
|
|
|
|
|
|
void addOpenServerTime(CServerOpenTime cServerOpenTime) throws Exception;
|
|
|
|
|
2019-04-08 17:29:02 +08:00
|
|
|
}
|