📄 iagentdao.java
字号:
package com.shunshi.ssh.dao;
import java.util.List;
import com.shunshi.ssh.entity.Agent;
import com.shunshi.ssh.exception.AgentDaoException;
import com.shunshi.ssh.exception.AgentServiceException;
public interface IAgentDao {
void add(Agent agent) throws AgentDaoException;
void delete(int id) throws AgentDaoException;
void updateState(int id,int state) throws AgentDaoException ;
Agent findById(int id) throws AgentDaoException ;
void updateAgent(Agent a) throws AgentDaoException;
List findByUserId(int uid) throws AgentDaoException;
List findByState(int state,int start,int max)throws AgentDaoException;
Long getTotalRowsByState(int state) throws AgentDaoException;
public Agent findByMaxId()throws AgentDaoException;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -