package com.sundot.airport.personnel.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sundot.airport.personnel.domain.PersonnelMonthlyAssessmentIndicatorRewardPunishmentDetail;

/**
 * 月度考核指标奖罚明细Mapper接口
 *
 * @author ruoyi
 * @date 2026-05-07
 */
public interface PersonnelMonthlyAssessmentIndicatorRewardPunishmentDetailMapper extends BaseMapper<PersonnelMonthlyAssessmentIndicatorRewardPunishmentDetail> {
    /**
     * 查询月度考核指标奖罚明细
     *
     * @param id 月度考核指标奖罚明细主键
     * @return 月度考核指标奖罚明细
     */
    public PersonnelMonthlyAssessmentIndicatorRewardPunishmentDetail selectPersonnelMonthlyAssessmentIndicatorRewardPunishmentDetailById(Long id);

    /**
     * 查询月度考核指标奖罚明细列表
     *
     * @param personnelMonthlyAssessmentIndicatorRewardPunishmentDetail 月度考核指标奖罚明细
     * @return 月度考核指标奖罚明细集合
     */
    public List<PersonnelMonthlyAssessmentIndicatorRewardPunishmentDetail> selectPersonnelMonthlyAssessmentIndicatorRewardPunishmentDetailList(PersonnelMonthlyAssessmentIndicatorRewardPunishmentDetail personnelMonthlyAssessmentIndicatorRewardPunishmentDetail);

    /**
     * 新增月度考核指标奖罚明细
     *
     * @param personnelMonthlyAssessmentIndicatorRewardPunishmentDetail 月度考核指标奖罚明细
     * @return 结果
     */
    public int insertPersonnelMonthlyAssessmentIndicatorRewardPunishmentDetail(PersonnelMonthlyAssessmentIndicatorRewardPunishmentDetail personnelMonthlyAssessmentIndicatorRewardPunishmentDetail);

    /**
     * 修改月度考核指标奖罚明细
     *
     * @param personnelMonthlyAssessmentIndicatorRewardPunishmentDetail 月度考核指标奖罚明细
     * @return 结果
     */
    public int updatePersonnelMonthlyAssessmentIndicatorRewardPunishmentDetail(PersonnelMonthlyAssessmentIndicatorRewardPunishmentDetail personnelMonthlyAssessmentIndicatorRewardPunishmentDetail);

    /**
     * 删除月度考核指标奖罚明细
     *
     * @param id 月度考核指标奖罚明细主键
     * @return 结果
     */
    public int deletePersonnelMonthlyAssessmentIndicatorRewardPunishmentDetailById(Long id);

    /**
     * 批量删除月度考核指标奖罚明细
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deletePersonnelMonthlyAssessmentIndicatorRewardPunishmentDetailByIds(Long[] ids);
}
