|
|
@@ -259,7 +259,7 @@ public class SysMenuServiceImpl implements ISysMenuService
|
|
259
|
259
|
public boolean hasChildByMenuId(Long menuId)
|
|
260
|
260
|
{
|
|
261
|
261
|
int result = menuMapper.hasChildByMenuId(menuId);
|
|
262
|
|
- return result > 0 ? true : false;
|
|
|
262
|
+ return result > 0;
|
|
263
|
263
|
}
|
|
264
|
264
|
|
|
265
|
265
|
/**
|
|
|
@@ -272,7 +272,7 @@ public class SysMenuServiceImpl implements ISysMenuService
|
|
272
|
272
|
public boolean checkMenuExistRole(Long menuId)
|
|
273
|
273
|
{
|
|
274
|
274
|
int result = roleMenuMapper.checkMenuExistRole(menuId);
|
|
275
|
|
- return result > 0 ? true : false;
|
|
|
275
|
+ return result > 0;
|
|
276
|
276
|
}
|
|
277
|
277
|
|
|
278
|
278
|
/**
|