RuoYi
2022-06-13 755c3f7a8acf128ce4545020d07f0b9cf780e52a
src/main/java/com/ruoyi/project/system/service/impl/SysMenuServiceImpl.java
@@ -259,7 +259,7 @@
    public boolean hasChildByMenuId(Long menuId)
    {
        int result = menuMapper.hasChildByMenuId(menuId);
        return result > 0 ? true : false;
        return result > 0;
    }
    /**
@@ -272,7 +272,7 @@
    public boolean checkMenuExistRole(Long menuId)
    {
        int result = roleMenuMapper.checkMenuExistRole(menuId);
        return result > 0 ? true : false;
        return result > 0;
    }
    /**