fixes bug#24392
qua: dev:wallace 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-87c2c4800839master
parent
d740e58f67
commit
53a3c1868b
|
@ -341,9 +341,6 @@ public class Empresa implements Serializable, Auditavel<Empresa> {
|
|||
@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<Empresa> {
|
|||
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;
|
||||
|
|
|
@ -137,15 +137,6 @@ public class Ruta implements Serializable, Comparable<Ruta>, Auditavel<Ruta> {
|
|||
@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<RutaEmbarqueDesembarque> lsRutaEmbarqueDesembarque;
|
||||
|
||||
|
@ -211,9 +202,7 @@ public class Ruta implements Serializable, Comparable<Ruta>, Auditavel<Ruta> {
|
|||
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<Ruta>, Auditavel<Ruta> {
|
|||
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";
|
||||
|
|
Loading…
Reference in New Issue