Updated the field name companyCodiceAteco
This commit is contained in:
@@ -191,7 +191,7 @@ public class ApplicationEvaluationDao {
|
||||
setAmendmentDetails(entity,response);
|
||||
|
||||
response.setCompanyVatNumber(company.getVatNumber());
|
||||
response.setCompanyCodiceAteo(company.getCodiceAteco());
|
||||
response.setCompanyCodiceAteco(company.getCodiceAteco());
|
||||
setCriteriaResponses(entity, response, evaluationCriterias);
|
||||
setChecklistResponses(entity, response, checklistEntities);
|
||||
setFieldResponses(entity, response, applicationFormEntities);
|
||||
@@ -1179,7 +1179,7 @@ public class ApplicationEvaluationDao {
|
||||
response.setNumberOfCheck(call.getNumberOfCheck());
|
||||
response.setAppointmentTemplateId(call.getAppointmentTemplateId());
|
||||
response.setCompanyVatNumber(company.getVatNumber());
|
||||
response.setCompanyCodiceAteo(company.getCodiceAteco());
|
||||
response.setCompanyCodiceAteco(company.getCodiceAteco());
|
||||
setCriteriaResponses(entity, application.getId(), response, evaluationCriterias);
|
||||
setChecklistResponses(entity, application.getId(), response, checklistEntities);
|
||||
setFileResponses(entity, application.getId(), response, applicationFormEntities);
|
||||
@@ -2248,6 +2248,7 @@ public class ApplicationEvaluationDao {
|
||||
private ApplicationEvaluationFormResponse processEvaluationForm(ApplicationEvaluationEntity evaluationEntity){
|
||||
|
||||
Object convertedResponse = convertToResponse(evaluationEntity);
|
||||
CompanyEntity company=companyService.validateCompany(evaluationEntity.getAssignedApplicationsEntity().getApplication().getCompanyId());
|
||||
|
||||
ApplicationEvaluationFormResponse response = objectMapper.convertValue(convertedResponse, ApplicationEvaluationFormResponse.class);
|
||||
EvaluationFormEntity evaluationFormEntity = evaluationFormRepository.findByCallIdAndIsDeletedFalse(evaluationEntity.getAssignedApplicationsEntity().getApplication().getCall().getId());
|
||||
@@ -2256,7 +2257,8 @@ public class ApplicationEvaluationDao {
|
||||
if (evaluationFormEntity != null) {
|
||||
response.setApplicationEvaluationFormResponse(convertEvaluationFormToResponse(evaluationFormEntity, evaluationEntity));
|
||||
}
|
||||
|
||||
response.setCompanyVatNumber(company.getVatNumber());
|
||||
response.setCompanyCodiceAteco(company.getCodiceAteco());
|
||||
return response;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user