PermissionDao extends BaseDao { public boolean isNormalManagerById(Long groupId, Long userId) throws SQLException { return isExistByUserId(RoleTypeEnum.Limited.getType(), groupId, 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 isNormalManagerById() throws Exception { Boolean b = permissionDao.isNormalManagerById(1L, 1L); System.out.println("isNormalManagerById :-------> " + b); Assert.assertTrue(b); }