提交 0aa40304 authored 作者: taojinlong's avatar taojinlong

fix: 获取用户角色 ID

上级 7ffe5514
......@@ -37,7 +37,7 @@
</select>
<select id="roleCodes" resultType="String">
select r.id from sys_role r
select r.role_id from sys_role r
left join sys_users_roles sur on sur.role_id = r.role_id
where sur.user_id = #{userId}
</select>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论