package com.ruoyi.oa.mapper;

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

/**
 * cmc预算外开支Mapper接口
 * 
 * @author cmc
 * @date 2025-05-09
 */
public interface CmcBudgetOtherMapper 
{
    /**
     * 查询cmc预算外开支
     * 
     * @param expenseId cmc预算外开支主键
     * @return cmc预算外开支
     */
    public CmcBudgetOther selectCmcBudgetOtherByExpenseId(Long expenseId);

    /**
     * 查询cmc预算外开支列表
     * 
     * @param cmcBudgetOther cmc预算外开支
     * @return cmc预算外开支集合
     */
    public List<CmcBudgetOther> selectCmcBudgetOtherList(CmcBudgetOther cmcBudgetOther);

    /**
     * 新增cmc预算外开支
     * 
     * @param cmcBudgetOther cmc预算外开支
     * @return 结果
     */
    public int insertCmcBudgetOther(CmcBudgetOther cmcBudgetOther);

    /**
     * 修改cmc预算外开支
     * 
     * @param cmcBudgetOther cmc预算外开支
     * @return 结果
     */
    public int updateCmcBudgetOther(CmcBudgetOther cmcBudgetOther);

    /**
     * 删除cmc预算外开支
     * 
     * @param expenseId cmc预算外开支主键
     * @return 结果
     */
    public int deleteCmcBudgetOtherByExpenseId(Long expenseId);

    /**
     * 批量删除cmc预算外开支
     * 
     * @param budgetId 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCmcBudgetOtherByExpenseIds(String[] budgetId);
}
