lucas.taia 2016-01-11 17:38:43 +00:00
parent cd74805abb
commit 65e7a2558a
1 changed files with 5 additions and 5 deletions

View File

@ -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());