package com.erp.ai.mapper;

import com.erp.ai.model.AiAgentMessage;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface AiAgentMessageMapper {
    List<AiAgentMessage> listByConversationId(@Param("conversationId") long conversationId);

    int insert(AiAgentMessage message);

    int deleteByConversationId(@Param("conversationId") long conversationId);
}
