Updated the field name companyCodiceAteco

This commit is contained in:
nisha
2025-03-20 15:58:56 +05:30
parent c50b5059cb
commit e311f5bc7c
3 changed files with 8 additions and 4 deletions

View File

@@ -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;
}

View File

@@ -46,5 +46,7 @@ public class ApplicationEvaluationFormResponse {
private EvaluationVersionEnum evaluationVersion;
private Long numberOfCheck;
private Long appointmentTemplateId;
private String companyVatNumber;
private String companyCodiceAteco;
}

View File

@@ -48,6 +48,6 @@ public class ApplicationEvaluationResponse {
private Long appointmentTemplateId;
private EvaluationVersionEnum evaluationVersion;
private String companyVatNumber;
private String companyCodiceAteo;
private String companyCodiceAteco;
}