correcao (fixes bug 6396)
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Model/trunk/modelWeb@45503 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
ca24e1c736
commit
df6600397d
|
@ -65,7 +65,7 @@ public class CorridaTramo implements Serializable {
|
|||
@Column(name = "NUMSECDESTINO")
|
||||
private Short numsecdestino;
|
||||
@Column(name = "ACTIVO")
|
||||
private Boolean activo;
|
||||
private Integer activo;
|
||||
@Column(name = "FECMODIF")
|
||||
@Temporal(TemporalType.TIMESTAMP)
|
||||
private Date fecmodif;
|
||||
|
@ -228,11 +228,11 @@ public class CorridaTramo implements Serializable {
|
|||
this.numsecdestino = numsecdestino;
|
||||
}
|
||||
|
||||
public Boolean getActivo() {
|
||||
public Integer getActivo() {
|
||||
return activo;
|
||||
}
|
||||
|
||||
public void setActivo(Boolean activo) {
|
||||
public void setActivo(Integer activo) {
|
||||
this.activo = activo;
|
||||
}
|
||||
|
||||
|
|
|
@ -607,7 +607,11 @@ public class CorridaServiceImpl implements CorridaService {
|
|||
horaChegadaAnterior = excepcionTiempo;
|
||||
}
|
||||
|
||||
corridaTramo.setActivo(Boolean.TRUE);
|
||||
if(esquemaCorrida.getStatusCorrida().equals("A")){
|
||||
corridaTramo.setActivo(ATIVO);
|
||||
}else if (esquemaCorrida.getStatusCorrida().equals("L")){
|
||||
corridaTramo.setActivo(INATIVO);
|
||||
}
|
||||
//
|
||||
corridaTramo.setFecmodif(Calendar.getInstance().getTime());
|
||||
if (UsuarioLogado.getUsuarioLogado() != null) {
|
||||
|
|
Loading…
Reference in New Issue