istorageinfodao.java
来自「一个关于物流的管理系统」· Java 代码 · 共 25 行
JAVA
25 行
package com.shunshi.ssh.dao;
import java.util.List;
import com.shunshi.ssh.entity.StorageHouse;
import com.shunshi.ssh.entity.StorageInfo;
import com.shunshi.ssh.exception.StoragehouseDaoException;
import com.shunshi.ssh.exception.StorageinfoDaoException;
import com.shunshi.ssh.exception.StorageinfoServiceException;
public interface IStorageinfoDao {
void add(StorageInfo Storageinfo)throws StorageinfoDaoException;
void delete(int id)throws StorageinfoDaoException ;
void updateState(int id,int state) throws StorageinfoDaoException;
StorageInfo findById(int id)throws StorageinfoDaoException;
void updateStorageinfo(StorageInfo s) throws StorageinfoDaoException;
List findByUserId(int uid) throws StorageinfoDaoException;
List findAll() throws StorageinfoDaoException;
List findByState(int state,int start,int max)throws StorageinfoDaoException;
Long getTotalRowsByState(int state)throws StorageinfoDaoException;
public StorageInfo findByMaxId()throws StorageinfoDaoException;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?