package org.xyzh.ai.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.xyzh.api.ai.dto.TbKnowledgeFile;
import org.xyzh.api.ai.dto.TbKnowledgeFileLog;
import org.xyzh.api.ai.vo.KnowledgeFileVO;
import org.xyzh.common.core.page.PageParam;

import java.util.List;

/**
 * @description 知识库文件数据访问层
 * @filename KnowledgeFileMapper.java
 * @author yslg
 * @copyright xyzh
 * @since 2025-12-17
 */
@Mapper
public interface TbKnowledgeFileLogMapper {

   int addKnowledgeFileLog(TbKnowledgeFileLog tbKnowledgeFileLog);

   List<TbKnowledgeFileLog> getKnowledgeFileLogList(@Param("filter") TbKnowledgeFileLog filter);

   List<TbKnowledgeFileLog> getKnowledgeFileLogPage(@Param("pageParam") PageParam pageParam,@Param("filter") TbKnowledgeFileLog filter);


   int countKnowledgeFileLog(@Param("filter") TbKnowledgeFileLog filter);

}
