package com.ruoyi.oa.service;

import java.util.List;
import com.ruoyi.oa.domain.CmcPerformanceStaff;

/**
 * cmc员工绩效Service接口
 * 
 * @author cmc
 * @date 2025-06-04
 */
public interface ICmcPerformanceStaffService 
{
    /**
     * 查询cmc员工绩效
     * 
     * @param performanceStaffId cmc员工绩效主键
     * @return cmc员工绩效
     */
    public CmcPerformanceStaff selectCmcPerformanceStaffByPerformanceStaffId(Long performanceStaffId);

    /**
     * 查询cmc员工绩效列表
     * 
     * @param cmcPerformanceStaff cmc员工绩效
     * @return cmc员工绩效集合
     */
    public List<CmcPerformanceStaff> selectCmcPerformanceStaffList(CmcPerformanceStaff cmcPerformanceStaff);

    /**
     * 查询cmc员工月度绩效列表
     *
     * @param performanceId 绩效审批id
     * @param deptId 部门id
     * @return cmc员工绩效集合
     */
    public List<CmcPerformanceStaff> selectMonthPerformanceList(String performanceId, String deptId);

    /**
     * 新增cmc员工绩效
     * 
     * @param cmcPerformanceStaff cmc员工绩效
     * @return 结果
     */
    public int insertCmcPerformanceStaff(CmcPerformanceStaff cmcPerformanceStaff);

    /**
     * 修改cmc员工绩效
     * 
     * @param cmcPerformanceStaff cmc员工绩效
     * @return 结果
     */
    public int updateCmcPerformanceStaff(CmcPerformanceStaff cmcPerformanceStaff);

    /**
     * 批量删除cmc员工绩效
     * 
     * @param performanceId 需要删除的cmc绩效审批id集合
     * @return 结果
     */
    public int deleteCmcPerformanceStaffByPerformanceId(String[] performanceId);

    /**
     * 删除cmc员工绩效信息
     * 
     * @param performanceStaffId cmc员工绩效主键
     * @return 结果
     */
    public int deleteCmcPerformanceStaffByPerformanceStaffId(Long performanceStaffId);
}
