This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DROP INDEX CARRETERA.CARRETERA_INDEX_NOMBRE; | |
DROP INDEX CARRETERA.CARRETERA_INDEX_IDNACIONAL; | |
DROP INDEX CORREDOR.CORREDOR_INDEX_NOMBRE; | |
DROP INDEX CORREDOR.CORREDOR_INDEX_NUMERO; | |
DROP INDEX ESTADO.EDO_INDEX_NOMBRE; | |
DROP INDEX ESTADO.EDO_INDEX_SIGLAS; | |
DROP INDEX LOCALIDAD.LOCALIDAD_INDEX_NOMBRE; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Creando los datos de direccion de la tarjeta | |
Direccion direccion = new Direccion(); | |
direccion.setIdDireccion(datosPagoTDCForm.getAddressId()); | |
direccion.setNombre(datosPagoTDCForm.getNombre()); | |
direccion.setApellidoPaterno(datosPagoTDCForm.getApellidoPaterno()); | |
direccion.setCalle(datosPagoTDCForm.getCalle()); | |
direccion.setNumExterior(datosPagoTDCForm.getNumExterior()); | |
direccion.setNumInterior(datosPagoTDCForm.getNumInterior()); | |
direccion.setCp(datosPagoTDCForm.getCp()); | |
direccion.setEstado(datosPagoTDCForm.getEstado()); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ****************** | |
// *** Promociones *** | |
// | |
Integer promo1 = new Integer(1); | |
Integer promo2 = new Integer(2); | |
List promoIntList = new ArrayList(); | |
promoIntList.add(promo1); | |
promoIntList.add(promo2); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public List getPromocionSeleccionada() { | |
List promociones = new ArrayList(); | |
List promoList = getPromociones(); | |
Iterator iter = promoList.iterator(); | |
while (iter.hasNext()) { | |
Integer promo = (Integer) iter.next(); | |
String promocion = (String) promocionesDisponibles.get(promo); | |
promociones.add(promocion); | |
} |