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
90e54966
authored
Jul 15, 2025
by
MATEUS GUIZELINI JARDIM
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Incluindo tramitação pelo banco de dados
parent
05f75cfa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
mateus_jardim/script_sql/REQ000000314842.sql
mateus_jardim/script_sql/REQ000000314842.sql
View file @
90e54966
DO
$$
DO
$$
DECLARE
err_message
TEXT
;
BEGIN
BEGIN
BEGIN
BEGIN
UPDATE
par3
.
execucao_prestacao_contas
UPDATE
par3
.
execucao_prestacao_contas
set
epcstatus
=
'I'
set
epcstatus
=
'I'
where
epcid
=
'5650'
or
epcid
=
'5651'
;
where
epcid
=
'5650'
or
epcid
=
'5651'
;
perform
workflow
.
alteraestadodoc
(
59463824
,
7167
,
'Tramitado em atendimento a REQ000000314842'
);
perform
workflow
.
alteraestadodoc
(
59463825
,
7181
,
'Tramitado em atendimento a REQ000000314842'
);
perform
workflow
.
alteraestadodoc
(
59463827
,
7167
,
'Tramitado em atendimento a REQ000000314842'
);
perform
workflow
.
alteraestadodoc
(
59463828
,
7181
,
'Tramitado em atendimento a REQ000000314842'
);
EXCEPTION
EXCEPTION
WHEN
OTHERS
THEN
WHEN
OTHERS
THEN
RAISE
WARNING
'Erro ao alterar prestacao de contas: %'
,
SQLERRM
;
RAISE
WARNING
'Erro ao alterar prestacao de contas: %'
,
SQLERRM
;
...
...
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