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