package com.ruoyi.oa.service;

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

/**
 * cmc用车审批Service接口
 * 
 * @author cmc
 * @date 2024-02-23
 */
public interface ICmcCarApprovalService 
{
    /**
     * 查询cmc用车审批
     * 
     * @param carApplyId cmc用车审批主键
     * @return cmc用车审批
     */
    public CmcCarApproval selectCmcCarApprovalByCarApplyId(String carApplyId);

    /**
     * 查询cmc用车审批列表
     * 
     * @param cmcCarApproval cmc用车审批
     * @return cmc用车审批集合
     */
    public List<CmcCarApproval> selectCmcCarApprovalList(CmcCarApproval cmcCarApproval);

    /**
     * 新增cmc用车审批
     * 
     * @param cmcCarApproval cmc用车审批
     * @return 结果
     */
    public int insertCmcCarApproval(CmcCarApproval cmcCarApproval);

    /**
     * 修改cmc用车审批
     * 
     * @param cmcCarApproval cmc用车审批
     * @return 结果
     */
    public int updateCmcCarApproval(CmcCarApproval cmcCarApproval);

    /**
     * 批量删除cmc用车审批
     * 
     * @param carApplyIds 需要删除的cmc用车审批主键集合
     * @return 结果
     */
    public int deleteCmcCarApprovalByCarApplyIds(String[] carApplyIds);

    /**
     * 删除cmc用车审批信息
     * 
     * @param carApplyId cmc用车审批主键
     * @return 结果
     */
    public int deleteCmcCarApprovalByCarApplyId(String carApplyId);
}
