📄 hbndao.java
字号:
package com.university.goodsmanager.dao.hbndao;import java.util.*;import com.university.goodsmanager.biz.entity.*;public interface HbnDao {/*用户******************/ void save(User user) throws Exception; void update(User user) throws Exception; void delete(int id) throws Exception; List queryUser() throws Exception; User queryUser(int id) throws Exception; User queryUser(String name) throws Exception;/* 部门*******************/ void save(Dept dept) throws Exception; void update(Dept dept) throws Exception; List queryDept() throws Exception; void delete(Dept dept) throws Exception; Dept queryDept(int dept_id) throws Exception;/* 供应商*******************/ void save(Supplier supplier) throws Exception; void update(Supplier supplier) throws Exception; List querySupplier() throws Exception; void delete(Supplier supplier) throws Exception; Supplier querySupplier(int supplier_id) throws Exception;/* 公司员工*******************/ void save(Employee employee) throws Exception; void update(Employee employee) throws Exception; List queryEmployee() throws Exception; void delete(Employee employee) throws Exception; Employee queryEmployee(int employee_id) throws Exception;/*进货合同*******************/ void save(BuyOrder buyorder,int employee_id ); void update(BuyOrder buyorder); List queryBuyOrder(); void delete(BuyOrder buyorder,int employee_id); BuyOrder queryBuyOrder(int buyorder_id);/*仓库***********************/ void save(StoreHouse storehouse,int employee_id ); void update(StoreHouse storehouse); List queryStoreHouse(); void delete(StoreHouse storehouse,int employee_id); StoreHouse queryStoreHouse(int storehouse_id);/*库存**********************/ void save(StockPile sp) throws Exception; void update(StockPile sp) throws Exception; List queryStockPile() throws Exception; void delete(StockPile sp) throws Exception;/*库存查询******************/ StockPile queryStockPile(int stockpile_id) throws Exception; List queryStockPileByCard(String card); List queryStockPileByPoduct(String product); List queryStockPileByType(String type); List queryStockPileByStoreHouse(String storehouse);/*退货************************/ void save(ReturnProduct rp) throws Exception; void update(ReturnProduct rp) throws Exception; List queryReturnProduct() throws Exception; void delete(ReturnProduct rp) throws Exception; ReturnProduct queryReturnProduct(int returnproduct_id) throws Exception;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -