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