Added companyId in evaluation response

This commit is contained in:
rajesh
2025-11-19 12:19:49 +05:30
parent 3da924c3d6
commit a87779deac
3 changed files with 4 additions and 1 deletions

View File

@@ -205,7 +205,7 @@ public class ApplicationEvaluationDao {
CompanyEntity company=companyService.validateCompany(entity.getAssignedApplicationsEntity().getApplication().getCompanyId()); CompanyEntity company=companyService.validateCompany(entity.getAssignedApplicationsEntity().getApplication().getCompanyId());
setAmendmentDetails(entity,response); setAmendmentDetails(entity,response);
response.setCompanyId(company.getId());
response.setCompanyVatNumber(company.getVatNumber()); response.setCompanyVatNumber(company.getVatNumber());
response.setCompanyCodiceAteco(company.getCodiceAteco()); response.setCompanyCodiceAteco(company.getCodiceAteco());
setCriteriaResponses(entity, response, evaluationCriterias); setCriteriaResponses(entity, response, evaluationCriterias);
@@ -2434,6 +2434,7 @@ public class ApplicationEvaluationDao {
if (evaluationFormEntity != null) { if (evaluationFormEntity != null) {
response.setApplicationEvaluationFormResponse(convertEvaluationFormToResponse(evaluationFormEntity, evaluationEntity)); response.setApplicationEvaluationFormResponse(convertEvaluationFormToResponse(evaluationFormEntity, evaluationEntity));
} }
response.setCompanyId(company.getId());
response.setCompanyVatNumber(company.getVatNumber()); response.setCompanyVatNumber(company.getVatNumber());
response.setCompanyCodiceAteco(company.getCodiceAteco()); response.setCompanyCodiceAteco(company.getCodiceAteco());
response.setSignedDocument(getApplicationSignedDocument(evaluationEntity)); response.setSignedDocument(getApplicationSignedDocument(evaluationEntity));

View File

@@ -15,6 +15,7 @@ public class ApplicationEvaluationFormResponse {
private Long id; private Long id;
private Long applicationId; private Long applicationId;
private Long companyId;
private ApplicationStatusTypeEnum applicationStatus; private ApplicationStatusTypeEnum applicationStatus;
private Long assignedApplicationId; private Long assignedApplicationId;
private String note; private String note;

View File

@@ -15,6 +15,7 @@ public class ApplicationEvaluationResponse {
private Long id; private Long id;
private Long applicationId; private Long applicationId;
private Long companyId;
private ApplicationStatusTypeEnum applicationStatus; private ApplicationStatusTypeEnum applicationStatus;
private Long assignedApplicationId; private Long assignedApplicationId;
private String note; private String note;