Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
RONALDO RODRIGUES DE OLIVEIRA
/
simec-scripts-banco
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
23e57177
authored
Jun 15, 2025
by
MATEUS GUIZELINI JARDIM
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update REQ000000345247.sql
parent
641ae8c8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
mateus_jardim/script_sql/REQ000000345247.sql
mateus_jardim/script_sql/REQ000000345247.sql
View file @
23e57177
...
...
@@ -10,17 +10,17 @@ BEGIN
(
41
,
'Pressupostos para Prescrição Intercorrente'
,
'A'
,
now
());
EXCEPTION
WHEN
OTHERS
THEN
RAISE
WARNING
'Erro ao inserir em responsaveisomisso: %
PROCESSO: %
'
,
SQLERRM
;
RAISE
WARNING
'Erro ao inserir em responsaveisomisso: %'
,
SQLERRM
;
END
;
BEGIN
INSERT
INTO
workflow
.
estadodocumento
(
esdid
,
tpdid
,
esdstatus
,
esdordem
,
esddsc
,
constantevirtual
)
VALUES
(
'316
8
'
,
'335'
,
'A'
,
'20'
,
'Encaminhado para Banco de Arquivamento por Prescrição'
,
'workflow_estadodocumento_esdid_par_3168'
),
(
'31
69
'
,
'335'
,
'A'
,
'21'
,
'Pressupostos para Prescrição Intercorrente'
,
'workflow_estadodocumento_esdid_par_3169'
);
(
'316
9
'
,
'335'
,
'A'
,
'20'
,
'Encaminhado para Banco de Arquivamento por Prescrição'
,
'workflow_estadodocumento_esdid_par_3168'
),
(
'31
70
'
,
'335'
,
'A'
,
'21'
,
'Pressupostos para Prescrição Intercorrente'
,
'workflow_estadodocumento_esdid_par_3169'
);
EXCEPTION
WHEN
OTHERS
THEN
RAISE
WARNING
'Erro ao inserir em responsaveisomisso: %
PROCESSO: %
'
,
SQLERRM
;
RAISE
WARNING
'Erro ao inserir em responsaveisomisso: %'
,
SQLERRM
;
END
;
END
$$
;
...
...
@@ -31,4 +31,4 @@ END $$;
select * from par.situacaomeprestacaocontas where smpcid in('39','40','41');
select * from workflow.estadodocumento where esdid in('3168', '3169');
\ No newline at end of file
select * from workflow.estadodocumento where esdid in('3169', '3170');
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment