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

This commit is contained in:
wxyclub
2023-11-24 10:17:20 +08:00
parent fa663d65e4
commit fe843d08f7
6 changed files with 27 additions and 0 deletions
@@ -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>