fixes bug#17529

dev:thiago
qua:

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@99318 d1611594-4594-4d17-8e1d-87c2c4800839
master
wilian 2019-12-11 14:43:07 +00:00
parent c8b034ede8
commit 06ec711644
2 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,6 @@
declare
begin
execute immediate 'insert into funcion_sistema (funcionsistema_id,sistema_id,nombfuncion,descruta,activo,fecmodif,usuario_id) values
(FUNCION_SISTEMA_SEQ.NEXTVAL,1,''ADM > SEGURANCA > REENVIO BP-e'', ''COM.RJCONSULTORES.ADMINISTRACION.GUI.SEGURIDAD.MENU.REENVIO_BPE'',1,SYSDATE,-1)';
exception when others then null;
end;

View File

@ -0,0 +1,8 @@
DO $$
BEGIN
insert into funcion_sistema (funcionsistema_id,sistema_id,nombfuncion,descruta,activo,fecmodif,usuario_id) values
(nextval('funcion_sistema_seq'),1,'ADM > SEGURANCA > REENVIO BP-e','COM.RJCONSULTORES.ADMINISTRACION.GUI.SEGURIDAD.MENU.REENVIO_BPE',1,now(),1);
EXCEPTION WHEN unique_violation THEN NULL;
END
$$;