Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
poc-api
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
poc
poc-api
Commits
19a3f26f
Commit
19a3f26f
authored
Sep 18, 2025
by
alex yao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix[知识库]: 修复查询[企业][部门]知识库文档异常
parent
5e8b27f3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
KnowledgeQuery.sql
src/main/java/cn/com/poc/knowledge/query/KnowledgeQuery.sql
+1
-1
No files found.
src/main/java/cn/com/poc/knowledge/query/KnowledgeQuery.sql
View file @
19a3f26f
...
@@ -15,7 +15,7 @@ from
...
@@ -15,7 +15,7 @@ from
biz_knowledge_document
bkd
biz_knowledge_document
bkd
left
join
biz_member_knowledge_relation
bmkr
on
bkd
.
kd_id
=
bmkr
.
kd_id
and
bmkr
.
is_deleted
=
'N'
left
join
biz_member_knowledge_relation
bmkr
on
bkd
.
kd_id
=
bmkr
.
kd_id
and
bmkr
.
is_deleted
=
'N'
where
bkd
.
is_deleted
=
'N'
where
bkd
.
is_deleted
=
'N'
<<
and
bmkr
.
member_id
=
:
memberId
>>
<<
and
(
bmkr
.
member_id
=
:
memberId
or
bmkr
.
member_id
=
1
)
>>
<<
and
bkd
.
document_name
=
:
documentName
>>
<<
and
bkd
.
document_name
=
:
documentName
>>
<<
and
bkd
.
train_status
=
:
trainStatus
>>
<<
and
bkd
.
train_status
=
:
trainStatus
>>
<<
and
locate
(:
searchDocumentName
,
bkd
.
document_name
)
>>
<<
and
locate
(:
searchDocumentName
,
bkd
.
document_name
)
>>
...
...
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