You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ssm/src/main/java/com/service/IEmpService.java

63 lines
990 B

package com.service;
import com.entity.Employee;
import com.utils.Page;
import java.util.List;
import java.util.Map;
/**
* @ClassName IEmpServoce
* @Description TODO
* @Author YHT
* @Date 2021/7/9 10:41
*/
public interface IEmpService {
/**
*
* @param page
* @return
*/
List<Employee> listEmp(Page page);
/**
*
* @return
*/
int getEmpTotal();
/**
*
* @param map
* @return
*/
List<Employee> searchEmp(Map<String, Object> map);
/**
*
* @param employee
*/
void addEmp(Employee employee);
/**
* id
* @param id
* @return
*/
Employee selectEmpById(int id);
/**
*
* @param employee
*/
void modifyEmp(Employee employee);
/**
*
* @param id
*/
void deleteEmp(int id);
}