package com.fs.company.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fs.company.domain.CompanyVoiceDialog;

import java.util.List;

/**
 * AI外呼话术Mapper接口
 * 
 * @author fs
 * @date 2024-12-04
 */
public interface CompanyVoiceDialogMapper {
    /**
     * 查询AI外呼话术
     * 
     * @param id AI外呼话术ID
     * @return AI外呼话术
     */
    public CompanyVoiceDialog selectCompanyVoiceDialogById(Long id);

    /**
     * 查询AI外呼话术列表
     * 
     * @param companyVoiceDialog AI外呼话术
     * @return AI外呼话术集合
     */
    public List<CompanyVoiceDialog> selectCompanyVoiceDialogList(CompanyVoiceDialog companyVoiceDialog);

    /**
     * 新增AI外呼话术
     * 
     * @param companyVoiceDialog AI外呼话术
     * @return 结果
     */
    public int insertCompanyVoiceDialog(CompanyVoiceDialog companyVoiceDialog);

    /**
     * 修改AI外呼话术
     * 
     * @param companyVoiceDialog AI外呼话术
     * @return 结果
     */
    public int updateCompanyVoiceDialog(CompanyVoiceDialog companyVoiceDialog);

    /**
     * 删除AI外呼话术
     * 
     * @param id AI外呼话术ID
     * @return 结果
     */
    public int deleteCompanyVoiceDialogById(Long id);

    /**
     * 批量删除AI外呼话术
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteCompanyVoiceDialogByIds(Long[] ids);
}
