PermissionDao extends BaseDao { public boolean isNormalSuperManagerById(Long userId) throws SQLException { return isExistByUserId(RoleTypeEnum.Admin.getType(), SUPER_GROUP_ID, userId); }  boolean isNormalSuperManagerById(Long userId); boolean isGroupManagerById(Long groupId, Long userId); boolean isNormalManagerById(Long groupId, Long userId); boolean isExistByUserId(Integer roleType, Long groupId, Long userId); boolean isProjectPermission(Long projectId, Long userId);  }
@Test public void isNormalSuperManagerById() throws Exception { Boolean b = permissionDao.isNormalSuperManagerById(1L); System.out.println("isNormalSuperManagerById :-------> " + b); Assert.assertTrue(b); }