package com.ruoyi.staff_management.mapper; import com.ruoyi.staff_management.domain.RyglAddEmployee; import java.util.List; /** * @author 86151 * @description 针对表【rygl_add_employee】的数据库操作Mapper * @createDate 2025-06-23 16:05:34 * @Entity staff_management.domain.RyglAddEmployee */ public interface RyglAddEmployeeMapper { //获取所有员工信息 List getAllEmployees(); int deleteByPrimaryKey(Long id);//删除员工信息 // int insert(RyglAddEmployee record);//添加员工信息 int insertSelective(RyglAddEmployee record);//添加员工信息 RyglAddEmployee selectByPrimaryKey(Long id);//根据id查询员工信息 int updateByPrimaryKeySelective(RyglAddEmployee record);//修改员工信息 List searchByName(String name); // int updateByPrimaryKey(RyglAddEmployee record);//修改员工信息 }