From 53a3c1868bfc094ae493c1ebc23257f51753b5ed Mon Sep 17 00:00:00 2001 From: walace Date: Tue, 26 Apr 2022 14:55:00 +0000 Subject: [PATCH] fixes bug#24392 qua: dev:wallace MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Removido a implementação de precificação por demanda na ADM. git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Model/trunk/modelWeb@112017 d1611594-4594-4d17-8e1d-87c2c4800839 --- .../ventaboletos/entidad/Empresa.java | 10 ----- .../ventaboletos/entidad/Ruta.java | 37 +------------------ 2 files changed, 1 insertion(+), 46 deletions(-) diff --git a/src/com/rjconsultores/ventaboletos/entidad/Empresa.java b/src/com/rjconsultores/ventaboletos/entidad/Empresa.java index 2602bc5dd..00b215553 100644 --- a/src/com/rjconsultores/ventaboletos/entidad/Empresa.java +++ b/src/com/rjconsultores/ventaboletos/entidad/Empresa.java @@ -341,9 +341,6 @@ public class Empresa implements Serializable, Auditavel { @Column(name = "INDENVIADADOSAGENCIABPE") private Boolean indEnviaDadosAgenciaBpe; - @Column(name = "INDPRECOPORDEMANDA") - private Boolean indPrecoPorDemanda; - @Column(name = "INDRATEIOCOMISSAOGRUPOLINHA") private Boolean indRateioComissaoGrupoLinha; @@ -1297,13 +1294,6 @@ public class Empresa implements Serializable, Auditavel { this.indEnviaDadosAgenciaBpe = indEnviaDadosAgenciaBpe; } - public Boolean getIndPrecoPorDemanda() { - return indPrecoPorDemanda == null ? false : indPrecoPorDemanda; - } - - public void setIndPrecoPorDemanda(Boolean indPrecoPorDemanda) { - this.indPrecoPorDemanda = indPrecoPorDemanda; - } public Boolean getIndRateioComissaoGrupoLinha() { return indRateioComissaoGrupoLinha == null ? false : indRateioComissaoGrupoLinha; diff --git a/src/com/rjconsultores/ventaboletos/entidad/Ruta.java b/src/com/rjconsultores/ventaboletos/entidad/Ruta.java index 783505d70..42aa36f41 100644 --- a/src/com/rjconsultores/ventaboletos/entidad/Ruta.java +++ b/src/com/rjconsultores/ventaboletos/entidad/Ruta.java @@ -137,15 +137,6 @@ public class Ruta implements Serializable, Comparable, Auditavel { @Column(name = "INDVENDAEMBARCADA") private Boolean indVendaEmbarcada; - @Column(name = "INDPRECIOPORDEMANDA") - private Boolean indPrecioPorDemanda; - - @Column(name = "FECINIPRECIODEMANDA") - private Date fecInicioPrecioDemanda; - - @Column(name = "FECFIMPRECIODEMANDA") - private Date fecFimPrecioDemanda; - @OneToMany(mappedBy = "ruta", cascade = CascadeType.ALL) private List lsRutaEmbarqueDesembarque; @@ -211,9 +202,7 @@ public class Ruta implements Serializable, Comparable, Auditavel { ruta.indTribTaxaEmbarque = other.indTribTaxaEmbarque; ruta.indVentaRioCard = other.indVentaRioCard; ruta.indRutaInternacional = other.indRutaInternacional; - ruta.indPrecioPorDemanda = other.indPrecioPorDemanda; - ruta.fecInicioPrecioDemanda = other.fecInicioPrecioDemanda; - ruta.fecFimPrecioDemanda = other.fecFimPrecioDemanda; + /******* ruta.lsRutaEmpresa *************/ if (ruta.lsRutaEmpresa == null) { @@ -640,30 +629,6 @@ public class Ruta implements Serializable, Comparable, Auditavel { public String getTextoInclusaoExclusao() { return String.format("ID [%s]", getRutaId()); } - - public Boolean getIndPrecioPorDemanda() { - return indPrecioPorDemanda; - } - - public void setIndPrecioPorDemanda(Boolean indPrecioPorDemanda) { - this.indPrecioPorDemanda = indPrecioPorDemanda; - } - - public Date getFecInicioPrecioDemanda() { - return fecInicioPrecioDemanda; - } - - public void setFecInicioPrecioDemanda(Date fecInicioPrecioDemanda) { - this.fecInicioPrecioDemanda = fecInicioPrecioDemanda; - } - - public Date getFecFimPrecioDemanda() { - return fecFimPrecioDemanda; - } - - public void setFecFimPrecioDemanda(Date fecFimPrecioDemanda) { - this.fecFimPrecioDemanda = fecFimPrecioDemanda; - } public String getDescSentido() { return this.getIndSentidoIda() == null || Boolean.TRUE.equals(this.getIndSentidoIda()) ? "IDA" : "VOLTA";