RuoYi
2022-07-12 2d65b879a8094839efffd95a21d1a757acc06104
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;
    }
    /**