Resolved conflict

This commit is contained in:
rajesh
2025-11-11 15:39:55 +05:30
4 changed files with 12 additions and 2 deletions

View File

@@ -157,6 +157,9 @@ public class ApplicationEvaluationDao {
@Autowired @Autowired
private ApplicationSignedDocumentRepository applicationSignedDocumentRepository; private ApplicationSignedDocumentRepository applicationSignedDocumentRepository;
@Autowired
private ApplicationContractDao applicationContractDao;
private ApplicationEvaluationEntity convertToEntity(UserEntity user, ApplicationEvaluationRequest req, Long assignedApplciationId) { private ApplicationEvaluationEntity convertToEntity(UserEntity user, ApplicationEvaluationRequest req, Long assignedApplciationId) {
ApplicationEvaluationEntity entity = new ApplicationEvaluationEntity(); ApplicationEvaluationEntity entity = new ApplicationEvaluationEntity();
@@ -1193,6 +1196,8 @@ public class ApplicationEvaluationDao {
ApplicationEvaluationResponse applicationEvaluationResponse = convertToResponse(entity); ApplicationEvaluationResponse applicationEvaluationResponse = convertToResponse(entity);
applicationEvaluationResponse.setSignedDocument(getApplicationSignedDocument(entity)); applicationEvaluationResponse.setSignedDocument(getApplicationSignedDocument(entity));
applicationEvaluationResponse.setEmailSendResponse(entity.getEmailSendResponse()); applicationEvaluationResponse.setEmailSendResponse(entity.getEmailSendResponse());
ApplicationContractResponse applicationContractResponse=applicationContractDao.getContractByApplicationId(applicationID);
applicationEvaluationResponse.setContract(applicationContractResponse);
return applicationEvaluationResponse; return applicationEvaluationResponse;
} }
public List<EvaluationDocumentRequest> prepareEvaluationDocumentBeanList(ApplicationEvaluationEntity entity) { public List<EvaluationDocumentRequest> prepareEvaluationDocumentBeanList(ApplicationEvaluationEntity entity) {
@@ -2423,6 +2428,8 @@ public class ApplicationEvaluationDao {
response.setCompanyCodiceAteco(company.getCodiceAteco()); response.setCompanyCodiceAteco(company.getCodiceAteco());
response.setSignedDocument(getApplicationSignedDocument(evaluationEntity)); response.setSignedDocument(getApplicationSignedDocument(evaluationEntity));
response.setEmailSendResponse(evaluationEntity.getEmailSendResponse()); response.setEmailSendResponse(evaluationEntity.getEmailSendResponse());
ApplicationContractResponse applicationContractResponse=applicationContractDao.getContractByApplicationId(evaluationEntity.getApplicationId());
response.setContract(applicationContractResponse);
return response; return response;
} }

View File

@@ -50,5 +50,7 @@ public class ApplicationEvaluationFormResponse {
private String companyCodiceAteco; private String companyCodiceAteco;
private List<EmailSendResponse> emailSendResponse; private List<EmailSendResponse> emailSendResponse;
private ApplicationSignedDocumentResponse signedDocument; private ApplicationSignedDocumentResponse signedDocument;
private ApplicationContractResponse contract;
} }

View File

@@ -52,5 +52,6 @@ public class ApplicationEvaluationResponse {
private List<EmailSendResponse> emailSendResponse; private List<EmailSendResponse> emailSendResponse;
private List<DocumentResponseBean> rejectedDocument; private List<DocumentResponseBean> rejectedDocument;
private ApplicationSignedDocumentResponse signedDocument; private ApplicationSignedDocumentResponse signedDocument;
private ApplicationContractResponse contract;
} }

View File

@@ -27,8 +27,8 @@ springdoc.swagger-ui.tagsSorter=alpha
call.id=10 call.id=10
#aws configuration #aws configuration
aws.access.key.id=AKIAVWDQWCUENKE7QGXP aws.access.key.id=AKIAVWDQWCUEFJP3T6OP
aws.secret.access.key=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 aws.secret.access.key=jIBZs8TUTt5T7bKnHkNGzs76Bl4omYoBhF2Pc9TE
aws.s3.region=eu-west-1 aws.s3.region=eu-west-1
aws.s3.bucket.name=mementoresources aws.s3.bucket.name=mementoresources
aws.s3.url = https://mementoresources.s3.eu-west-1.amazonaws.com/ aws.s3.url = https://mementoresources.s3.eu-west-1.amazonaws.com/