{
result.setFailed(GROUP_NOT_EXIST);
return result;
}
GroupMembers groupMember = new GroupMembers();
groupMember.setId(new GroupMembersId(userID,groupID));
groupMember.setGroups(group);
groupMember.setUsers(user);
groupMembersDAO.merge(groupMember);
result.setSucceed();
return result;