itransportdao.java

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

JAVA
25
字号
package com.shunshi.ssh.dao;

import java.util.List;

import com.shunshi.ssh.entity.Goods;
import com.shunshi.ssh.entity.Transport;
import com.shunshi.ssh.exception.GoodsDaoException;
import com.shunshi.ssh.exception.TransportDaoException;
import com.shunshi.ssh.exception.TransportServiceException;


public interface ITransportDao {

	public void add(Transport transport) throws TransportDaoException;	//���Tansport����
	public void delete(long id) throws TransportDaoException;	//���Transport�����idɾ��Transport����
	public Transport findById (long id) throws TransportDaoException;	//���id����Transport����
	public List findByUserId(long userId) throws TransportDaoException;	//���User��userId����ij���û�������f��Ϣ����
	public List findAll() throws TransportDaoException;	//��ѯ������f��Ϣ
	public void updateTransport (Transport transport) throws TransportDaoException;	//����Tansport����ʵ�����Ȱ�id�ҵ������ٸ��¶���
	public void updateState(long id,int state) throws TransportDaoException;	//����transport״̬
	public List findByState(int state,int start,int max) throws TransportDaoException;//���״̬�����ѯ
	public Long getTotalRowsByState(int state) throws TransportDaoException;//ȡ�ü�¼������
	public Transport findTransportByMaxId()throws GoodsDaoException;
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?