package org.xyzh.ai.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.xyzh.common.dto.ai.TbAiKnowledge;

import java.util.List;

/**
 * @description 知识库数据访问层
 * @filename AiKnowledgeMapper.java
 * @author yslg
 * @copyright xyzh
 * @since 2025-10-15
 */
@Mapper
public interface AiKnowledgeMapper extends BaseMapper<TbAiKnowledge> {

    /**
     * @description 查询知识库列表
     * @param filter 过滤条件
     * @return List<TbAiKnowledge> 知识库列表
     * @author yslg
     * @since 2025-10-15
     */
    List<TbAiKnowledge> selectAiKnowledges(TbAiKnowledge filter);
}
