Unverified Commit 2a4eb665 authored by luoshangjie's avatar luoshangjie Committed by GitHub

[Fix][Admin] Fix the SQL error for querying user roles (#3305)

parent 4e5e635b
......@@ -97,7 +97,7 @@
from dinky_role r
left join dinky_user_role urole on urole.role_id = r.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 urole.user_id = #{userId}
</select>
<select id="selectRoleListByUserId" parameterType="Integer" resultType="Integer">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment