?? 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對象為參數(shù)的員工注冊業(yè)務(wù)邏
public void regist(Account account) throws AccountIsExistException;
//以就餐帳戶名稱、員工姓名、員工身份證號為參數(shù)的注冊業(yè)務(wù)邏輯
public void registByName(String repastCard,String employeeName,String idCard)
throws AccountIsExistException, EmployeeNotExistException,EmployeeBeUsedException;
//無返回值的員工就餐刷卡業(yè)務(wù)邏輯
public void repast(String name,String fee)throws AccountNotExistException, OverDrawException;
//返回Account對象的就餐刷卡業(yè)務(wù)邏輯
public Account repastAccount(String name,String fee) throws AccountNotExistException, OverDrawException ;
//以就餐帳戶名稱為參數(shù)的余額查詢業(yè)務(wù)邏輯
public BigDecimal searchBanlances(String repastCard) throws AccountNotExistException;
//以Account對象為參數(shù)的余額查詢業(yè)務(wù)邏輯
public BigDecimal searchBanlancesByAccount(Account account);
//以Account對象為參數(shù)的透支次數(shù)查詢業(yè)務(wù)邏輯
public Integer searchOverDrawNubByAccount(Account account);
//以就餐帳戶名稱為參數(shù)的透支次數(shù)查詢業(yè)務(wù)邏輯
public Integer searchOverDrawNub(String repastCard) throws AccountNotExistException;
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -