package com.yushu.system.mapper;

import com.yushu.system.domain.AiConversation;
import java.util.List;

/**
 * AI对话会话Mapper接口
 * 
 * @author yushu
 * @date 2024-11-06
 */
public interface AiConversationMapper {
    /**
     * 查询AI对话会话
     * 
     * @param conversationId AI对话会话主键
     * @return AI对话会话
     */
    public AiConversation selectAiConversationByConversationId(Long conversationId);

    /**
     * 查询AI对话会话列表
     * 
     * @param aiConversation AI对话会话
     * @return AI对话会话集合
     */
    public List<AiConversation> selectAiConversationList(AiConversation aiConversation);

    /**
     * 新增AI对话会话
     * 
     * @param aiConversation AI对话会话
     * @return 结果
     */
    public int insertAiConversation(AiConversation aiConversation);

    /**
     * 修改AI对话会话
     * 
     * @param aiConversation AI对话会话
     * @return 结果
     */
    public int updateAiConversation(AiConversation aiConversation);

    /**
     * 删除AI对话会话
     * 
     * @param conversationId AI对话会话主键
     * @return 结果
     */
    public int deleteAiConversationByConversationId(Long conversationId);

    /**
     * 批量删除AI对话会话
     * 
     * @param conversationIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteAiConversationByConversationIds(Long[] conversationIds);
}

