add: 机构管理添加角色查询

This commit is contained in:
wxyclub
2023-11-27 18:20:34 +08:00
parent 0fa83c5063
commit 098077e325
6 changed files with 30 additions and 0 deletions
@@ -32,4 +32,8 @@
)
</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>