Merge pull request 'Bolivariano - Institucionales ADM: Relatório Movimento do Contrato fixes bug#AL-4318' (!174) from AL-4318 into master

Reviewed-on: utilidades/Flyway#174
Reviewed-by: aristides <aristides@rjconsultores.com.br>
master
aristides 2024-08-14 18:37:40 +00:00
commit 98c7d3b74a
2 changed files with 15 additions and 1 deletions

View File

@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>br.com.rjconsultores</groupId> <groupId>br.com.rjconsultores</groupId>
<artifactId>Flyway</artifactId> <artifactId>Flyway</artifactId>
<version>1.80.4</version> <version>1.81.0</version>
<distributionManagement> <distributionManagement>
<repository> <repository>

View File

@ -0,0 +1,14 @@
declare
dup_val_on_index exception;
except_02291 exception;
pragma exception_init (dup_val_on_index , -00001);
pragma exception_init (except_02291 , -02291);
begin
execute immediate 'INSERT INTO FUNCION_SISTEMA (FUNCIONSISTEMA_ID,SISTEMA_ID,NOMBFUNCION,DESCRUTA,ACTIVO,FECMODIF,USUARIO_ID)
VALUES (FUNCION_SISTEMA_SEQ.nextval,''1'',''ADM > CONFIGURAÇÃO COMERCIAL >> NEGOCIOS CORPORATIVOS >> RELATORIO DETALHES CONTRATO'',
''COM.RJCONSULTORES.ADMINISTRACION.GUI.CONFIGURACIONECCOMERCIALES.MENU.RELATORIODETALHESCONTRATO'',''1'',CURRENT_DATE,''1'')';
exception
when dup_val_on_index then null;
when except_02291 then null;
end;