iemployeeservice.java

来自「是Eclipse web开发从入门到精通的源码」· Java 代码 · 共 31 行

JAVA
31
字号
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 + =
减小字号Ctrl + -
显示快捷键?