From 529cc16f1928cca8daa47215557bf34aad346af3 Mon Sep 17 00:00:00 2001 From: walace Date: Fri, 27 Apr 2018 21:30:39 +0000 Subject: [PATCH] =?UTF-8?q?foi=20criado=20uma=20fun=C3=A7=C3=A3o=20que=20p?= =?UTF-8?q?ossa=20ser=20atribu=C3=ADda=20a=20um=20perfil=20permitindo=20a?= =?UTF-8?q?=20CONFIRMA=C3=87=C3=83O=20DE=20ABERTO=20para=20servi=C3=A7os?= =?UTF-8?q?=20que=20j=C3=A1=20partiram.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fixes bug#10972 dev:william qua:marcelo git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@81457 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20180427_1744__mantis10972.sql | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/db/migration/V20180427_1744__mantis10972.sql diff --git a/src/db/migration/V20180427_1744__mantis10972.sql b/src/db/migration/V20180427_1744__mantis10972.sql new file mode 100644 index 000000000..22d3fa68f --- /dev/null +++ b/src/db/migration/V20180427_1744__mantis10972.sql @@ -0,0 +1,15 @@ +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,2,''VDA > AUTORIZACAO > CONSULTAM CORRIDAS ANTERIORES ABERTO'',''COM.RJCONSULTORES.SCO.CONSULTACORRIDASANTERIORES.ABERTO'',1,sysdate,1)'; + end; +/ +declare + begin + execute immediate 'Insert into constante (CONSTANTE_ID,NOMBCONSTANTE,DESCCONSTANTE,INDTIPOCONSTANTE,VALORCONSTANTE,INDMANTENIMIENTOUSUARIO,ACTIVO,FECMODIF,USUARIO_ID) values (CONSTANTE_SEQ.NEXTVAL,''HABILITA_BUSCA_CORRIDA_ABIERTO_ANTERIOR'',''HABILITA_BUSCA_CORRIDA_ABIERTO_ANTERIOR'',null,''0'',''1'',''1'',to_date(''27/04/18'',''DD/MM/RR''),''1'')'; + + exception when dup_val_on_index then null; +end; +