You've already forked DataMate
- 后端服务新增 KnowledgeBaseStatisticsResp 和 RagFileStatistics 数据传输对象 - 在 KnowledgeBaseService 中实现 getStatistics 方法提供统计信息查询 - 为 RagFileRepository 添加 getStatistics 接口及其实现 - 通过 MyBatis Mapper 实现数据库层面的统计查询功能 - 在 KnowledgeBaseController 中暴露 /statistics 接口供前端调用 - 前端页面集成统计卡片组件展示知识库、文件数量及总大小信息 - 实现前后端数据同步机制确保统计数据实时更新