package com.ruoyi.oa.service;

import com.ruoyi.oa.domain.CmcContractSubContract;

import java.util.List;

/**
 * cmc承接分包合同Service接口
 * 
 * @author cmc
 * @date 2024-06-19
 */
public interface ICmcContractSubContractService 
{
    /**
     * 查询cmc承接分包合同
     * 
     * @param contractId cmc承接分包合同主键
     * @return cmc承接分包合同
     */
    public CmcContractSubContract selectCmcContractSubContractByContractId(String contractId);

    /**
     * 查询cmc承接分包合同列表
     * 
     * @param cmcContractSubContract cmc承接分包合同
     * @return cmc承接分包合同集合
     */
    public List<CmcContractSubContract> selectCmcContractSubContractList(CmcContractSubContract cmcContractSubContract);

    /**
     * 新增cmc承接分包合同
     * 
     * @param cmcContractSubContract cmc承接分包合同
     * @return 结果
     */
    public int insertCmcContractSubContract(CmcContractSubContract cmcContractSubContract);

    /**
     * 修改cmc承接分包合同
     * 
     * @param cmcContractSubContract cmc承接分包合同
     * @return 结果
     */
    public int updateCmcContractSubContract(CmcContractSubContract cmcContractSubContract);

    /**
     * 批量删除cmc承接分包合同
     * 
     * @param subContractIds 需要删除的cmc承接分包合同主键集合
     * @return 结果
     */
    public int deleteCmcContractSubContractBySubContractIds(String[] subContractIds);

    /**
     * 删除cmc承接分包合同信息
     * 
     * @param contractId cmc承接分包合同主键
     * @return 结果
     */
    public int deleteCmcContractSubContractByContractId(String[] contractId);
}
