package com.fs.fastGpt.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.fs.fastGpt.domain.FastGptChatReplaceWords;

import java.util.List;

/**
 * 违规词语Service接口
 *
 * @author fs
 * @date 2025-01-18
 */
public interface IFastGptChatReplaceWordsService extends IService<FastGptChatReplaceWords>{
    /**
     * 查询违规词语
     *
     * @param id 违规词语主键
     * @return 违规词语
     */
    FastGptChatReplaceWords selectFastGptChatReplaceWordsById(Long id);

    /**
     * 查询违规词语列表
     *
     * @param fastGptChatReplaceWords 违规词语
     * @return 违规词语集合
     */
    List<FastGptChatReplaceWords> selectFastGptChatReplaceWordsList(FastGptChatReplaceWords fastGptChatReplaceWords);

    /**
     * 新增违规词语
     *
     * @param fastGptChatReplaceWords 违规词语
     * @return 结果
     */
    int insertFastGptChatReplaceWords(FastGptChatReplaceWords fastGptChatReplaceWords);

    /**
     * 修改违规词语
     *
     * @param fastGptChatReplaceWords 违规词语
     * @return 结果
     */
    int updateFastGptChatReplaceWords(FastGptChatReplaceWords fastGptChatReplaceWords);

    /**
     * 批量删除违规词语
     *
     * @param ids 需要删除的违规词语主键集合
     * @return 结果
     */
    int deleteFastGptChatReplaceWordsByIds(Long[] ids);

    /**
     * 删除违规词语信息
     *
     * @param id 违规词语主键
     * @return 结果
     */
    int deleteFastGptChatReplaceWordsById(Long id);
}
