📄 itransportdao.java
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -