fixes bug #7020
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Model/trunk/modelWeb@51813 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
cd74805abb
commit
65e7a2558a
|
@ -506,12 +506,12 @@ public class CorridaServiceImpl implements CorridaService {
|
||||||
corrida.setAutobus(null);
|
corrida.setAutobus(null);
|
||||||
corrida.setClaseServicio(esquemaCorrida.getClaseServicio());
|
corrida.setClaseServicio(esquemaCorrida.getClaseServicio());
|
||||||
corrida.setConductor(null);
|
corrida.setConductor(null);
|
||||||
if(esquemaCorrida.getIndCorridaExtra()){
|
// if(esquemaCorrida.getIndCorridaExtra()){
|
||||||
corrida.setTipoServicio(new Short("2"));
|
// corrida.setTipoServicio(new Short("2"));
|
||||||
}else{
|
// }else{
|
||||||
corrida.setTipoServicio(new Short("1"));
|
corrida.setTipoServicio(new Short("1"));
|
||||||
}
|
// }
|
||||||
corrida.setInfoCorrida(esquemaCorrida.getInfoCorrida());
|
// corrida.setInfoCorrida(esquemaCorrida.getInfoCorrida());
|
||||||
Integer cantparados = esquemaCorrida.getCantparados();
|
Integer cantparados = esquemaCorrida.getCantparados();
|
||||||
if (cantparados != null) {
|
if (cantparados != null) {
|
||||||
corrida.setCantParados(cantparados.shortValue());
|
corrida.setCantParados(cantparados.shortValue());
|
||||||
|
|
Loading…
Reference in New Issue