bug#20993

dev: Valvevir
qua:

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Model/trunk/modelWeb@104533 d1611594-4594-4d17-8e1d-87c2c4800839
master
fabio 2020-11-26 21:11:51 +00:00
parent 204903ee57
commit 3077b1763d
1 changed files with 12 additions and 13 deletions

View File

@ -41,19 +41,18 @@ public class CorridaVO {
public CorridaVO( Corrida corrida ) {
super();
CorridaVO co = new CorridaVO();
co.setCorridaId(corrida.getId().getCorridaId());
co.setFeccorrida( DateUtil.getStringDate( corrida.getId().getFeccorrida()));
co.setNumCorrida(corrida.getId().getCorridaId());
co.setFechorsalida( DateUtil.getStringDate(corrida.getFechorsalida(), "dd/MM/yyyy HH:mm:ss.SSS") );
co.setOrigenId(corrida.getOrigem().getParadaId());
co.setDestinoId(corrida.getDestino().getParadaId());
co.setTipoServicioId(corrida.getTipoServicio().intValue());
co.setRolOperativoId(corrida.getRolOperativo().getRoloperativoId());
co.setMarcaId( corrida.getMarca().getMarcaId().intValue() );
co.setClaseServicioId( corrida.getClaseServicio().getClaseservicioId());
co.setEmpresaId( corrida.getEmpresa().getEmpresaId());
co.setRutaId( corrida.getRuta().getRutaId() );
this.corridaId = corrida.getId().getCorridaId();
this.feccorrida = DateUtil.getStringDate( corrida.getId().getFeccorrida());
this.numCorrida = corrida.getId().getCorridaId();
this.fechorsalida = DateUtil.getStringDate(corrida.getFechorsalida(), "dd/MM/yyyy HH:mm:ss.SSS");
this.origenId = corrida.getOrigem().getParadaId();
this.destinoId = corrida.getDestino().getParadaId();
this.tipoServicioId = corrida.getTipoServicio().intValue();
this.rolOperativoId = corrida.getRolOperativo().getRoloperativoId();
this.marcaId = corrida.getMarca().getMarcaId().intValue();
this.claseServicioId = corrida.getClaseServicio().getClaseservicioId();
this.empresaId = corrida.getEmpresa().getEmpresaId();
this.rutaId = corrida.getRuta().getRutaId();
}
public CorridaVO(Integer corridaId, Integer numCorrida, String descServico, String fechorsalida,