fixes bug#20410
qua: dev:Valdir git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@104030 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
4eee290aaf
commit
fee54c60c6
|
@ -1,6 +1,6 @@
|
||||||
declare
|
declare
|
||||||
begin
|
begin
|
||||||
execute immediate 'INSERT INTO CUSTOM (CUSTOM_ID, SISTEMA, CHAVE, VALOR, ACTIVO, FECMODIF, USUARIO_ID)
|
execute immediate 'INSERT INTO CUSTOM (CUSTOM_ID, SISTEMA, CHAVE, VALOR, ACTIVO, FECMODIF, USUARIO_ID)
|
||||||
VALUES (CUSTOM_SEQ.nextval, 3, ''isBloqueiaReimpressaoPontoVendaW2i'', ''false'', 1, sysdate, 1)';
|
VALUES (CUSTOM_SEQ.nextval, 2, ''isBloqueiaReimpressaoPontoVendaW2i'', ''false'', 1, sysdate, 1)';
|
||||||
exception when others then null;
|
exception when others then null;
|
||||||
end;
|
end;
|
|
@ -1,7 +1,7 @@
|
||||||
DO $$
|
DO $$
|
||||||
BEGIN
|
BEGIN
|
||||||
INSERT INTO CUSTOM (CUSTOM_ID, SISTEMA, CHAVE, VALOR, ACTIVO, FECMODIF, USUARIO_ID)
|
INSERT INTO CUSTOM (CUSTOM_ID, SISTEMA, CHAVE, VALOR, ACTIVO, FECMODIF, USUARIO_ID)
|
||||||
VALUES (CUSTOM_SEQ.nextval, 3, 'isBloqueiaReimpressaoPontoVendaW2i', 'false', 1, sysdate, 1)
|
VALUES (nextval('CUSTOM_SEQ').nextval, 2, 'isBloqueiaReimpressaoPontoVendaW2i', 'false', 1, now(), 1)
|
||||||
EXCEPTION WHEN unique_violation THEN NULL;
|
EXCEPTION WHEN unique_violation THEN NULL;
|
||||||
END
|
END
|
||||||
$$;
|
$$;
|
||||||
|
|
Loading…
Reference in New Issue