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