package com.ruoyi.oa.mapper;

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

/**
 * cmc车辆费用Mapper接口
 * 
 * @author cmc
 * @date 2024-03-12
 */
public interface CmcCarExpenseMapper 
{
    /**
     * 查询cmc车辆费用
     * 
     * @param carExpenseId cmc车辆费用主键
     * @return cmc车辆费用
     */
    public CmcCarExpense selectCmcCarExpenseByCarExpenseId(String carExpenseId);

    /**
     * 查询cmc车辆费用列表
     * 
     * @param cmcCarExpense cmc车辆费用
     * @return cmc车辆费用集合
     */
    public List<CmcCarExpense> selectCmcCarExpenseList(CmcCarExpense cmcCarExpense);

    /**
     * 新增cmc车辆费用
     * 
     * @param cmcCarExpense cmc车辆费用
     * @return 结果
     */
    public int insertCmcCarExpense(CmcCarExpense cmcCarExpense);

    /**
     * 修改cmc车辆费用
     * 
     * @param cmcCarExpense cmc车辆费用
     * @return 结果
     */
    public int updateCmcCarExpense(CmcCarExpense cmcCarExpense);

    /**
     * 删除cmc车辆费用
     * 
     * @param carExpenseId cmc车辆费用主键
     * @return 结果
     */
    public int deleteCmcCarExpenseByCarExpenseId(String carExpenseId);

    /**
     * 批量删除cmc车辆费用
     * 
     * @param carExpenseIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCmcCarExpenseByCarExpenseIds(String[] carExpenseIds);
}
