📄 iaccountdao.java
字号:
package com.csd080111.bank.persistent;
import org.hibernate.Session;
import com.csd080111.bank.biz.entity.Account;
/*
* 数据接口
* 方法:1、插入数据 2、删除数据 3、更新数据 4、查找数据
*/
public interface IAccountDAO {
public void insert(Account act,Session s)throws DataException;//插入数据
public void delete(String actNo,Session s)throws DataException;//删除数据
public void update(Account act,Session s)throws DataException;//更新数据
public Account findByActNo(String actNo,Session s)throws DataException;//查找数据
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -