RuoYi
2021-12-27 69fc2cff29ef718402aea24b8092cc7bf1b1ca23
src/main/java/com/ruoyi/project/system/service/impl/SysDeptServiceImpl.java
@@ -100,7 +100,7 @@
     * @return 选中部门列表
     */
    @Override
    public List<Integer> selectDeptListByRoleId(Long roleId)
    public List<Long> selectDeptListByRoleId(Long roleId)
    {
        SysRole role = roleMapper.selectRoleById(roleId);
        return deptMapper.selectDeptListByRoleId(roleId, role.isDeptCheckStrictly());