📄 iemployeeservice.java
字号:
package com.REP.IService;
import java.math.BigDecimal;
import com.REP.bean.Account;
import com.REP.excptions.AccountIsExistException;
import com.REP.excptions.AccountNotExistException;
import com.REP.excptions.EmployeeBeUsedException;
import com.REP.excptions.EmployeeNotExistException;
import com.REP.excptions.OverDrawException;
public interface IEmployeeService {
//以Account对象为参数的员工注册业务逻
public void regist(Account account) throws AccountIsExistException;
//以就餐帐户名称、员工姓名、员工身份证号为参数的注册业务逻辑
public void registByName(String repastCard,String employeeName,String idCard)
throws AccountIsExistException, EmployeeNotExistException,EmployeeBeUsedException;
//无返回值的员工就餐刷卡业务逻辑
public void repast(String name,String fee)throws AccountNotExistException, OverDrawException;
//返回Account对象的就餐刷卡业务逻辑
public Account repastAccount(String name,String fee) throws AccountNotExistException, OverDrawException ;
//以就餐帐户名称为参数的余额查询业务逻辑
public BigDecimal searchBanlances(String repastCard) throws AccountNotExistException;
//以Account对象为参数的余额查询业务逻辑
public BigDecimal searchBanlancesByAccount(Account account);
//以Account对象为参数的透支次数查询业务逻辑
public Integer searchOverDrawNubByAccount(Account account);
//以就餐帐户名称为参数的透支次数查询业务逻辑
public Integer searchOverDrawNub(String repastCard) throws AccountNotExistException;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -