Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
O
online-edu-backend
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
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
online-edu
online-edu-backend
Commits
923efeec
Commit
923efeec
authored
Nov 01, 2021
by
liuyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed bug: 管理端查询企业列表时,应只查询关联的管理员数据
parent
f7a43e28
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
OrganizationPOMapper.xml
...ain/resources/mappers/management/OrganizationPOMapper.xml
+2
-1
No files found.
src/main/resources/mappers/management/OrganizationPOMapper.xml
View file @
923efeec
...
...
@@ -27,7 +27,8 @@
FROM organization o
INNER JOIN user_ext e on o.id = e.enterprise_id
INNER JOIN sys_user s on e.user_id = s.id
WHERE o.is_del = 0 and o.type='ENTERPRISE'
INNER JOIN sys_user_role ur on ur.user_id = s.id
WHERE o.is_del = 0 and o.type='ENTERPRISE' and ur.role_id=3
<if
test=
"p.enterpriseName != null and p.enterpriseName != ''"
>
and o.`name` like concat('%',#{p.enterpriseName},'%')
</if>
...
...
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