updated get all application endpoint

This commit is contained in:
rajesh
2024-09-16 15:31:12 +05:30
parent 7babf437d6
commit b4212ee219
6 changed files with 20 additions and 12 deletions

View File

@@ -19,7 +19,7 @@ public interface ApplicationService {
ApplicationGetResponseBean getApplicationByFormId(HttpServletRequest request, Long applicationId,Long formId);
List<ApplicationResponse> getAllApplications(HttpServletRequest request);
List<ApplicationResponse> getAllApplications(HttpServletRequest request,Long callId);
void deleteApplication(HttpServletRequest request, Long applicationId);

View File

@@ -85,8 +85,8 @@ public class ApplicationServiceImpl implements ApplicationService {
@Override
@Transactional(readOnly = true)
public List<ApplicationResponse> getAllApplications(HttpServletRequest request) {
public List<ApplicationResponse> getAllApplications(HttpServletRequest request,Long callId) {
UserEntity userEntity = validator.validateUser(request);
return applicationDao.getAllApplications(userEntity);
return applicationDao.getAllApplications(userEntity,callId);
}
}