Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Shucai Chen
/
lufa-ai
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
c0c4d670
authored
Apr 21, 2026
by
pengshun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 个人知识库使用量
parent
6b3fc2a3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
ruoyi-vue-pro-master-jdk17/yudao-module-ai/yudao-module-ai-biz/src/main/java/cn/iocoder/yudao/module/ai/dal/mysql/knowledge/AiKnowledgeDocumentMapper.java
+1
-1
No files found.
ruoyi-vue-pro-master-jdk17/yudao-module-ai/yudao-module-ai-biz/src/main/java/cn/iocoder/yudao/module/ai/dal/mysql/knowledge/AiKnowledgeDocumentMapper.java
View file @
c0c4d670
...
@@ -89,7 +89,7 @@ public interface AiKnowledgeDocumentMapper extends BaseMapperX<AiKnowledgeDocume
...
@@ -89,7 +89,7 @@ public interface AiKnowledgeDocumentMapper extends BaseMapperX<AiKnowledgeDocume
.
in
(
AiKnowledgeDocumentDO:
:
getId
,
ids
));
.
in
(
AiKnowledgeDocumentDO:
:
getId
,
ids
));
}
}
@Select
(
"SELECT COALESCE(SUM(content_length), 0) FROM ai_knowledge_document WHERE creator = #{userId} AND is_dir = 0"
)
@Select
(
"SELECT COALESCE(SUM(content_length), 0) FROM ai_knowledge_document WHERE creator = #{userId} AND is_dir = 0
AND knowledge_id = 6
"
)
Long
selectCountKBSize
(
Long
userId
);
Long
selectCountKBSize
(
Long
userId
);
default
List
<
AiKnowledgeDocumentDO
>
selectListByParentId
(
Long
id
)
{
default
List
<
AiKnowledgeDocumentDO
>
selectListByParentId
(
Long
id
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment