iagentdao.java

来自「一个关于物流的管理系统」· Java 代码 · 共 21 行

JAVA
21
字号
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 + =
减小字号Ctrl + -
显示快捷键?