package com.srs.teacher.mapper;

import java.util.List;

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

/**
 * 业绩考核-个人填报-加分项Mapper接口
 *
 * @author
 * @date 2024-06-11
 */
public interface SysTeacherKpiFillingBonusPointsMapper extends BaseMapper<SysTeacherKpiFillingBonusPoints> {
    /**
     * 查询业绩考核-个人填报-加分项
     *
     * @param id 业绩考核-个人填报-加分项主键
     * @return 业绩考核-个人填报-加分项
     */
    public SysTeacherKpiFillingBonusPoints selectSysTeacherKpiFillingBonusPointsById(Long id);

    /**
     * 查询业绩考核-个人填报-加分项列表
     *
     * @param sysTeacherKpiFillingBonusPoints 业绩考核-个人填报-加分项
     * @return 业绩考核-个人填报-加分项集合
     */
    List<SysTeacherKpiFillingBonusPoints> selectSysTeacherKpiFillingBonusPointsList(SysTeacherKpiFillingBonusPoints sysTeacherKpiFillingBonusPoints);

    /**
     * 根据辅导员名称、年份 月份 查询
     *
     * @param fdyName 辅导员名称主键
     * @return 业绩考核-个人填报-加分项集合
     */
    public List<SysTeacherKpiFillingBonusPoints> selectSysTeacherKpiFillingBonusPointsByFdyName(@Param("fdyName") String fdyName, @Param("fillingYear") String fillingYear, @Param("fillingMonth") String fillingMonth, @Param("classType") String classType);

    /**
     * 新增业绩考核-个人填报-加分项
     *
     * @param sysTeacherKpiFillingBonusPoints 业绩考核-个人填报-加分项
     * @return 结果
     */
    int insertSysTeacherKpiFillingBonusPoints(SysTeacherKpiFillingBonusPoints sysTeacherKpiFillingBonusPoints);

    /**
     * 修改业绩考核-个人填报-加分项
     *
     * @param sysTeacherKpiFillingBonusPoints 业绩考核-个人填报-加分项
     * @return 结果
     */
    int updateSysTeacherKpiFillingBonusPoints(SysTeacherKpiFillingBonusPoints sysTeacherKpiFillingBonusPoints);

    /**
     * 删除业绩考核-个人填报-加分项
     *
     * @param id 业绩考核-个人填报-加分项主键
     * @return 结果
     */
    int deleteSysTeacherKpiFillingBonusPointsById(Long id);

    /**
     * 批量删除业绩考核-个人填报-加分项
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    int deleteSysTeacherKpiFillingBonusPointsByIds(Long[] ids);
}
