Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dinky
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
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
wangpeng
dinky
Commits
2a4eb665
Unverified
Commit
2a4eb665
authored
Mar 18, 2024
by
luoshangjie
Committed by
GitHub
Mar 18, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Fix][Admin] Fix the SQL error for querying user roles (#3305)
Co-authored-by:
00225658
<
luoshangjie@yfpharmacy.com
>
parent
4e5e635b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
RoleMapper.xml
dinky-admin/src/main/resources/mapper/RoleMapper.xml
+1
-1
No files found.
dinky-admin/src/main/resources/mapper/RoleMapper.xml
View file @
2a4eb665
...
@@ -97,7 +97,7 @@
...
@@ -97,7 +97,7 @@
from dinky_role r
from dinky_role r
left join dinky_user_role urole on urole.role_id = r.id
left join dinky_user_role urole on urole.role_id = r.id
left join dinky_user u on u.id = urole.user_id
left join dinky_user u on u.id = urole.user_id
WHERE r.is_delete = 0 and ur.user_id = #{userId}
WHERE r.is_delete = 0 and ur
ole
.user_id = #{userId}
</select>
</select>
<select
id=
"selectRoleListByUserId"
parameterType=
"Integer"
resultType=
"Integer"
>
<select
id=
"selectRoleListByUserId"
parameterType=
"Integer"
resultType=
"Integer"
>
...
...
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