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.setClaseServicio(esquemaCorrida.getClaseServicio());
|
||||
corrida.setConductor(null);
|
||||
if(esquemaCorrida.getIndCorridaExtra()){
|
||||
corrida.setTipoServicio(new Short("2"));
|
||||
}else{
|
||||
// if(esquemaCorrida.getIndCorridaExtra()){
|
||||
// corrida.setTipoServicio(new Short("2"));
|
||||
// }else{
|
||||
corrida.setTipoServicio(new Short("1"));
|
||||
}
|
||||
corrida.setInfoCorrida(esquemaCorrida.getInfoCorrida());
|
||||
// }
|
||||
// corrida.setInfoCorrida(esquemaCorrida.getInfoCorrida());
|
||||
Integer cantparados = esquemaCorrida.getCantparados();
|
||||
if (cantparados != null) {
|
||||
corrida.setCantParados(cantparados.shortValue());
|
||||
|
|
Loading…
Reference in New Issue