From 2660681e7ab93581ac4311b2126e9a91e02c462a Mon Sep 17 00:00:00 2001 From: thiago Date: Fri, 31 Mar 2017 14:31:40 +0000 Subject: [PATCH] =?UTF-8?q?fixed=20bug=20#8660=20-=20Permiss=C3=A3o=20de?= =?UTF-8?q?=20cancelamento=20de=20gratuidade=20100%=20mesmo=20quando=20o?= =?UTF-8?q?=20tempo=20limite=20da=20viagem=20tiver=20passado.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@67492 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20170331_1042__mantis8660.sql | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/db/migration/V20170331_1042__mantis8660.sql diff --git a/src/db/migration/V20170331_1042__mantis8660.sql b/src/db/migration/V20170331_1042__mantis8660.sql new file mode 100644 index 000000000..55f29ca80 --- /dev/null +++ b/src/db/migration/V20170331_1042__mantis8660.sql @@ -0,0 +1,8 @@ +declare + dup_val_on_index exception; + pragma exception_init (dup_val_on_index , -00001); +begin + execute immediate 'Insert into FUNCION_SISTEMA (FUNCIONSISTEMA_ID,SISTEMA_ID,NOMBFUNCION,DESCRUTA,ACTIVO,FECMODIF,USUARIO_ID) +values (FUNCION_SISTEMA_seq.nextval,1,''CANCELAMENTO GRATUIDADE 100 PORCENTO'',''COM.RJCONSULTORES.VENTABOLETOS.GUI.VENTA.MENU.PERMITECANCELAMENTOGRATUIDADETOTAL'',1,sysdate,1)'; + exception when dup_val_on_index then null; +end; \ No newline at end of file