package com.ruoyi.oa.mapper;

import com.ruoyi.common.core.mapper.BaseMapperPlus;
import com.ruoyi.oa.domain.SysOaAiMessage;
import com.ruoyi.oa.domain.vo.SysOaAiMessageVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * AI对话详情Mapper接口
 *
 * @author ruoyi
 * @date 2024-12-19
 */
public interface SysOaAiMessageMapper extends BaseMapperPlus<SysOaAiMessageMapper, SysOaAiMessage, SysOaAiMessageVo> {

    /**
     * 根据对话ID查询消息列表
     *
     * @param conversationId 对话ID
     * @return 消息列表
     */
    List<SysOaAiMessageVo> selectMessagesByConversationId(@Param("conversationId") Long conversationId);

} 