RuoYi
2022-08-11 c7f64068788f9537220344fbba164f5b26218524
src/main/java/com/ruoyi/project/system/service/impl/SysDeptServiceImpl.java
@@ -139,7 +139,7 @@
    public boolean hasChildByDeptId(Long deptId)
    {
        int result = deptMapper.hasChildByDeptId(deptId);
        return result > 0 ? true : false;
        return result > 0;
    }
    /**
@@ -152,7 +152,7 @@
    public boolean checkDeptExistUser(Long deptId)
    {
        int result = deptMapper.checkDeptExistUser(deptId);
        return result > 0 ? true : false;
        return result > 0;
    }
    /**