feat:修改菜单树

new-exam
wangxy 5 months ago
parent c740939740
commit 65034371b2

@ -53,7 +53,6 @@ public class SysRoleServiceImpl extends ServiceImpl<TdLeaveMapper, TdLeave> impl
* @return * @return
*/ */
@Override @Override
@DataScope(deptAlias = "d")
public List<SysRole> selectRoleList(SysRole role) public List<SysRole> selectRoleList(SysRole role)
{ {
return roleMapper.selectRoleList(role); return roleMapper.selectRoleList(role);
@ -126,7 +125,7 @@ public class SysRoleServiceImpl extends ServiceImpl<TdLeaveMapper, TdLeave> impl
@Override @Override
public List<SysRole> selectRoleAll() public List<SysRole> selectRoleAll()
{ {
return SpringUtils.getAopProxy(this).selectRoleList(new SysRole()); return selectRoleList(new SysRole());
} }
/** /**

@ -59,7 +59,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</if> </if>
<!-- 数据范围过滤 --> <!-- 数据范围过滤 -->
${params.dataScope} /* ${params.dataScope}*/
</select> </select>
<select id="selectRolesByUserId" parameterType="Long" resultMap="SysRoleResult"> <select id="selectRolesByUserId" parameterType="Long" resultMap="SysRoleResult">

Loading…
Cancel
Save