RuoYi
2022-06-25 196f6d48d8768243af3eb14c78315200603781c0
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;
    }
    /**