parent
e6fc950c7b
commit
8693389614
9 changed files with 64 additions and 14 deletions
@ -0,0 +1,14 @@ |
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
||||
<mapper namespace="com.huoran.iasf.mapper.SysPermissionMapper"> |
||||
|
||||
<select id="selectRoleMenu" resultType="com.huoran.iasf.entity.SysPermission"> |
||||
SELECT |
||||
ap.* |
||||
FROM |
||||
sys_role_permission ar |
||||
left join sys_permission ap on ar.permission_id = ap.id |
||||
where find_in_set(ar.role_id,#{roleIds}) |
||||
GROUP BY ap.id |
||||
</select> |
||||
</mapper> |
Loading…
Reference in new issue