|
|
@ -100,7 +100,7 @@ public class SysDeptServiceImpl implements ISysDeptService |
|
|
|
* @return 选中部门列表 |
|
|
|
* @return 选中部门列表 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public List<Integer> selectDeptListByRoleId(Long roleId) |
|
|
|
public List<Long> selectDeptListByRoleId(Long roleId) |
|
|
|
{ |
|
|
|
{ |
|
|
|
SysRole role = roleMapper.selectRoleById(roleId); |
|
|
|
SysRole role = roleMapper.selectRoleById(roleId); |
|
|
|
return deptMapper.selectDeptListByRoleId(roleId, role.isDeptCheckStrictly()); |
|
|
|
return deptMapper.selectDeptListByRoleId(roleId, role.isDeptCheckStrictly()); |
|
|
|