|
@@ -292,7 +292,7 @@ public class MenuService extends ServiceImpl<MenuMapper,MenuEntity> {
|
|
|
}
|
|
|
List<MenuEntity> menuAllEntities = menuMapper.findAllFirstMenu();
|
|
|
Map<Long, MenuEntity> map = menuAllEntities.stream().collect(Collectors.toMap(MenuEntity::getId, item -> item));
|
|
|
- if(userType!="-9999") {
|
|
|
+ if(!userType.equals("-9999")) {
|
|
|
for (MenuEntity item : menuEntities) {
|
|
|
item.setIsOwner(1);
|
|
|
map.remove(item.getId());
|