package com.srs.teacher.mapper;

import java.util.List;

import com.srs.teacher.domain.SysPerformanceActive;
import com.srs.teacher.domain.SysPerformanceServing;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * 综合绩效-担任职务Mapper接口
 *
 * @author srs
 * @date 2024-06-17
 */
public interface SysPerformanceServingMapper extends BaseMapper<SysPerformanceServing> {
    /**
     * 查询综合绩效-担任职务
     *
     * @param id 综合绩效-担任职务主键
     * @return 综合绩效-担任职务
     */
    public SysPerformanceServing selectSysPerformanceServingById(Long id);

    /**
     * 查询综合绩效-担任职务
     *
     * @param fdName 查询综合绩效-担任职务
     * @return 查询综合绩效-担任职务
     */
    public SysPerformanceServing selectSysPerformanceServingByFdyName(@Param("fdName") String fdName, @Param("years") String years);

    /**
     * 查询综合绩效-担任职务列表
     *
     * @param sysPerformanceServing 综合绩效-担任职务
     * @return 综合绩效-担任职务集合
     */
    List<SysPerformanceServing> selectSysPerformanceServingList(SysPerformanceServing sysPerformanceServing);

    /**
     * 新增综合绩效-担任职务
     *
     * @param sysPerformanceServing 综合绩效-担任职务
     * @return 结果
     */
    int insertSysPerformanceServing(SysPerformanceServing sysPerformanceServing);

    /**
     * 修改综合绩效-担任职务
     *
     * @param sysPerformanceServing 综合绩效-担任职务
     * @return 结果
     */
    int updateSysPerformanceServing(SysPerformanceServing sysPerformanceServing);

    /**
     * 删除综合绩效-担任职务
     *
     * @param id 综合绩效-担任职务主键
     * @return 结果
     */
    int deleteSysPerformanceServingById(Long id);

    /**
     * 批量删除综合绩效-担任职务
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    int deleteSysPerformanceServingByIds(Long[] ids);
}
