fix 修复 用户绑定角色 与 角色绑定用户 异常 编写错误

This commit is contained in:
疯狂的狮子Li
2022-03-23 22:17:05 +08:00
parent 3ded50ca60
commit 487f18a930
4 changed files with 123 additions and 121 deletions

View File

@@ -9,7 +9,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="roleId" column="role_id" />
</resultMap>
<select id="selectUserIdByRoleId" resultType="Long">
<select id="selectUserIdsByRoleId" resultType="Long">
select u.user_id from sys_user u
inner join sys_user_role ur
on u.user_id = ur.user_id and ur.role_id = #{roleId}