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