Updated status filter in get all application api

This commit is contained in:
rajesh
2024-11-07 16:06:50 +05:30
parent d550f97ea8
commit 647b41b231
5 changed files with 14 additions and 11 deletions

View File

@@ -86,12 +86,12 @@ public class ApplicationServiceImpl implements ApplicationService {
@Override
@Transactional(readOnly = true)
public List<ApplicationResponse> getAllApplications(HttpServletRequest request, Long callId, Long companyId , String status) {
public List<ApplicationResponse> getAllApplications(HttpServletRequest request, Long callId, Long companyId ,List<ApplicationStatusTypeEnum> statusList) {
UserEntity userEntity = validator.validateUser(request);
if (companyId != null) {
validator.validateUserWithCompany(request, companyId);
}
return applicationDao.getAllApplications(userEntity, callId, companyId , status);
return applicationDao.getAllApplications(userEntity, callId, companyId , statusList);
}
@Override
@Transactional(rollbackFor = Exception.class)