update 同步 ruoyi 新功能

This commit is contained in:
疯狂的狮子li
2022-08-25 12:08:50 +08:00
parent 21ab56ff78
commit 4af334f2ad
28 changed files with 213 additions and 103 deletions

View File

@ -95,4 +95,11 @@
and sur.user_id = #{userId}
</select>
<select id="selectMenuPermsByRoleId" parameterType="Long" resultType="String">
select distinct m.perms
from sys_menu m
left join sys_role_menu rm on m.menu_id = rm.menu_id
where m.status = '0' and rm.role_id = #{roleId}
</select>
</mapper>