package com.ruoyi.oa.service;

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

/**
 * 绩效审批Service接口
 *
 * @author cmc
 * @date 2024-09-23
 */
public interface ICmcPerformanceService
{
    /**
     * 查询绩效审批
     *
     * @param performanceId 绩效审批主键
     * @return 绩效审批
     */
    public CmcPerformance selectCmcPerformanceByPerformanceId(String performanceId);

    /**
     * 查询绩效审批列表
     *
     * @param cmcPerformance 绩效审批
     * @return 绩效审批集合
     */
    public List<CmcPerformance> selectCmcPerformanceList(CmcPerformance cmcPerformance);

    /**
     * 新增绩效审批
     *
     * @param cmcPerformance 绩效审批
     * @return 结果
     */
    public int insertCmcPerformance(CmcPerformance cmcPerformance);

    /**
     * 修改绩效审批
     *
     * @param cmcPerformance 绩效审批
     * @return 结果
     */
    public int updateCmcPerformance(CmcPerformance cmcPerformance);

    /**
     * 批量删除绩效审批
     *
     * @param performanceIds 需要删除的绩效审批主键集合
     * @return 结果
     */
    public int deleteCmcPerformanceByPerformanceIds(String[] performanceIds);

    /**
     * 删除绩效审批信息
     *
     * @param performanceId 绩效审批主键
     * @return 结果
     */
    public int deleteCmcPerformanceByPerformanceId(String performanceId);
}