📄 sbnemployee.java
字号:
package employee;import javax.ejb.*;import java.rmi.*;import javax.naming.*;import java.sql.*;public interface SbnEmployee extends javax.ejb.EJBObject{ //根据数据插入记录 public EmployeeModel insert(EmployeeModel model) throws CreateException,NamingException,RemoteException; //根据数据更新记录 public EmployeeModel update(EmployeeModel model) throws FinderException,NamingException,RemoteException; //根据主键删除记录 public boolean del(String pk) throws RemoveException,FinderException,EJBException,NamingException,RemoteException; //根据主键检索记录 public EmployeeModel findByPk(String pk) throws FinderException,NamingException,RemoteException; public boolean delSome(String[] sid) throws Exception; //根据主键批量删除记录 public boolean delBatch(String[] sid) throws NamingException, SQLException,RemoteException; //根据SQL检索记录集 public java.util.ArrayList queryBySql(String strSql) throws NamingException, SQLException,RemoteException;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -