角色配置按钮权限根据菜单查询按钮修改;
This commit is contained in:
@@ -82,6 +82,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
ON me.modules_id = mo.modules_id
|
||||
LEFT JOIN sys_organization so ON me.top_organization_id = so.organization_id
|
||||
AND so.del_flag = 1
|
||||
left join ORGANIZATION_MENU om on me.menu_id = om.menu_id
|
||||
</sql>
|
||||
|
||||
<select id="selectMenuList" parameterType="com.linke.product.domain.menu.repository.po.MenuPo" resultMap="MenuResult">
|
||||
@@ -136,6 +137,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="topOrganizationId != null">
|
||||
and me.top_organization_id = #{topOrganizationId}
|
||||
</if>
|
||||
<if test="organizationId != null">
|
||||
and om.organization_id = #{organizationId}
|
||||
</if>
|
||||
<if test="moduleIdList != null and moduleIdList.size > 0">
|
||||
and mo.modules_id in
|
||||
<foreach item="modulesId" collection="moduleIdList" open="(" separator="," close=")">
|
||||
@@ -510,4 +514,4 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
</foreach>
|
||||
</delete>
|
||||
|
||||
</mapper>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user