Modified the API parameter of get all users

This commit is contained in:
nisha
2024-12-20 16:32:09 +05:30
parent c02e421eb6
commit 1a578e2727
6 changed files with 17 additions and 15 deletions

View File

@@ -126,8 +126,8 @@ public class UserServiceImpl implements UserService {
}
@Override
@Transactional(readOnly = true)
public List<UserResponseBean> getAllUsers(HttpServletRequest request, Long roleId) {
public List<UserResponseBean> getAllUsers(HttpServletRequest request, List<Long> roleIds) {
UserEntity user=validator.validateUser(request);
return userDao.getAllUsers(user, roleId);
return userDao.getAllUsers(user, roleIds);
}
}