package com.ruoyi.oa.mapper;

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

/**
 * 采购审批Mapper接口
 * 
 * @author cmc
 * @date 2024-09-18
 */
public interface CmcProcureApprovalMapper 
{
    /**
     * 查询采购审批
     * 
     * @param procureApplyId 采购审批主键
     * @return 采购审批
     */
    public CmcProcureApproval selectCmcProcureApprovalByProcureApplyId(String procureApplyId);

    /**
     * 查询采购审批列表
     * 
     * @param cmcProcureApproval 采购审批
     * @return 采购审批集合
     */
    public List<CmcProcureApproval> selectCmcProcureApprovalList(CmcProcureApproval cmcProcureApproval);

    /**
     * 新增采购审批
     * 
     * @param cmcProcureApproval 采购审批
     * @return 结果
     */
    public int insertCmcProcureApproval(CmcProcureApproval cmcProcureApproval);

    /**
     * 修改采购审批
     * 
     * @param cmcProcureApproval 采购审批
     * @return 结果
     */
    public int updateCmcProcureApproval(CmcProcureApproval cmcProcureApproval);

    /**
     * 删除采购审批
     * 
     * @param procureApplyId 采购审批主键
     * @return 结果
     */
    public int deleteCmcProcureApprovalByProcureApplyId(String procureApplyId);

    /**
     * 批量删除采购审批
     * 
     * @param procureApplyIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCmcProcureApprovalByProcureApplyIds(String[] procureApplyIds);
}
