istoragehousedao.java
来自「一个关于物流的管理系统」· Java 代码 · 共 24 行
JAVA
24 行
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 + =
减小字号Ctrl + -
显示快捷键?