RuoYi
2022-07-30 ff8206323dc1b88c9373a3ee5cf5cb8e86ef60d0
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;
    }
    /**