Skip to content

Commit

Permalink
Merge pull request #1305 from fiterlatam/bug/SU-441
Browse files Browse the repository at this point in the history
SU-441 : Archivo cartera - Report
  • Loading branch information
tabrez-fiter authored Nov 21, 2024
2 parents 3f7c6c7 + d32cb54 commit dbb4e5e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ public class LoanArchiveHistoryData {
private Integer numeroDeReprogramaciones;
private String departamento;
private String estadoCuota;
private String celularReferencia;
private String referencia;
private String nitEmpresaAliada;
}
Original file line number Diff line number Diff line change
Expand Up @@ -134,4 +134,6 @@ public class LoanArchiveHistory {
private BigDecimal montoInicial;
@Column(name = "nit_empresa_aliada")
private String nitEmpresaAliada;
@Column(name = "celular_familiar_1")
private String celularReferencia;
}
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ public RepeatStatus execute(StepContribution contribution, ChunkContext chunkCon
existingEntry.setNitEmpresa("800139398");
existingEntry.setTelefonoSac(dataLoan.getTelefonoSac());
existingEntry.setCelularSac(dataLoan.getCelularSac());
existingEntry.setCelularSac2(dataLoan.getCelularSac2());
existingEntry.setCelularReferencia(dataLoan.getCelularReferencia());
existingEntry.setEmailSac(dataLoan.getEmailSac());
existingEntry.setDireccionSac(dataLoan.getDireccionSac());
existingEntry.setBarrioSac("OTRO");
Expand Down Expand Up @@ -283,7 +283,7 @@ public RepeatStatus execute(StepContribution contribution, ChunkContext chunkCon
loanArchiveHistory.setNitEmpresa("800139398");
loanArchiveHistory.setTelefonoSac(dataLoan.getTelefonoSac());
loanArchiveHistory.setCelularSac(dataLoan.getCelularSac());
loanArchiveHistory.setCelularSac2(dataLoan.getCelularSac2());
loanArchiveHistory.setCelularReferencia(dataLoan.getCelularReferencia());
loanArchiveHistory.setEmailSac(dataLoan.getEmailSac());
loanArchiveHistory.setDireccionSac(dataLoan.getDireccionSac());
loanArchiveHistory.setBarrioSac("OTRO");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public LoanArchiveHistoryData mapRow(ResultSet rs, int rowNum) throws SQLExcepti
.ingresos(rs.getBigDecimal("media_de_ingreso")).antiguedadCliente(rs.getString("disbursedon_date"))
.actividadLaboral(rs.getString("activeLab")).creSaldo(rs.getBigDecimal("cupo")).cuoSaldo(rs.getBigDecimal("cupo"))
.cuoEstado(rs.getString("name_of_reason")).estadoCivil(rs.getString("estado_civil"))
.tipoDocumento(rs.getString("tipo_documento")).celularSac2(rs.getString("celular_referencia"))
.tipoDocumento(rs.getString("tipo_documento")).celularReferencia(rs.getString("celular_referencia"))
.referencia(rs.getString("referencia")).empresaLabora(rs.getString("nombre_empresa"))
.nitEmpresaAliada(rs.getString("nit_empresa_aliada")).fechaNacimiento(rs.getString("date_of_birth"))
.estadoCuota(rs.getString("creaditBlock")).build();
Expand Down

0 comments on commit dbb4e5e

Please sign in to comment.