package com.ruoyi.oa.mapper;

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

/**
 * cmc合同回款Mapper接口
 * 
 * @author cmc
 * @date 2024-04-19
 */
public interface CmcContractPaymentMapper 
{
    /**
     * 查询cmc合同回款
     * 
     * @param contractId cmc合同回款主键
     * @return cmc合同回款
     */
    public List<CmcContractPayment> selectCmcContractPaymentByContractId(String contractId);

    /**
     * 查询cmc合同回款列表
     * 
     * @param cmcContractPayment cmc合同回款
     * @return cmc合同回款集合
     */
    public List<CmcContractPayment> selectCmcContractPaymentList(CmcContractPayment cmcContractPayment);

    /**
     * 新增cmc合同回款
     * 
     * @param cmcContractPayment cmc合同回款
     * @return 结果
     */
    public int insertCmcContractPayment(CmcContractPayment cmcContractPayment);

    /**
     * 修改cmc合同回款
     * 
     * @param cmcContractPayment cmc合同回款
     * @return 结果
     */
    public int updateCmcContractPayment(CmcContractPayment cmcContractPayment);

    /**
     * 删除cmc合同回款
     * 
     * @param contractId cmc合同回款主键
     * @return 结果
     */
    public int deleteCmcContractPaymentByContractId(String contractId);

    /**
     * 批量删除cmc合同回款
     * 
     * @param contractIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCmcContractPaymentByContractIds(String[] contractIds);
}
