ajuste (fixes bug 6042)
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@41445 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
e37018c834
commit
91ae17cd73
|
@ -70,8 +70,8 @@ public class MyAppInit implements org.zkoss.zk.ui.util.WebAppInit {
|
||||||
arrayHoraMinuto[0] = 1;
|
arrayHoraMinuto[0] = 1;
|
||||||
arrayHoraMinuto[1] = 0;
|
arrayHoraMinuto[1] = 0;
|
||||||
|
|
||||||
if (constante == null) {
|
if (constante.getValorconstante() == null) {
|
||||||
return arrayHoraMinuto;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
int hora = 1;
|
int hora = 1;
|
||||||
|
@ -109,6 +109,11 @@ public class MyAppInit implements org.zkoss.zk.ui.util.WebAppInit {
|
||||||
|
|
||||||
Integer[] hora = horaExecucion();
|
Integer[] hora = horaExecucion();
|
||||||
|
|
||||||
|
if(hora == null){
|
||||||
|
log.debug("constante HORA_GENERACION_CORRIDA não habilitada.");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
log.debug("Horario de geracao de corrida : " + hora[0] + ":" + hora[1]);
|
log.debug("Horario de geracao de corrida : " + hora[0] + ":" + hora[1]);
|
||||||
|
|
||||||
Trigger trigger = TriggerUtils.makeDailyTrigger("generacionCorridasTrigger", hora[0], hora[1]);
|
Trigger trigger = TriggerUtils.makeDailyTrigger("generacionCorridasTrigger", hora[0], hora[1]);
|
||||||
|
|
Loading…
Reference in New Issue