add: 机构管理添加角色查询
This commit is contained in:
@@ -31,5 +31,8 @@
|
||||
</foreach>
|
||||
)
|
||||
</select>
|
||||
<select id="getRoleDataByUserId" resultType="com.adc.da.slrs.sarRole.entity.TsRole">
|
||||
select * from ts_role where ID in ( SELECT ROLE_ID FROM `ts_user_role` where USER_ID = #{userId})
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user