RuoYi
2022-07-26 8795f4d19ab336d18fbd878e07065a8fa4f1c2a4
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;
    }
    /**