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
f2c5f6ce
authored
Jul 17, 2025
by
MATEUS GUIZELINI JARDIM
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tramitacao manual pelo script
parent
bbb392e5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
0 deletions
mateus_jardim/script_sql/REQ000000345651.sql
mateus_jardim/script_sql/REQ000000345651.sql
0 → 100644
View file @
f2c5f6ce
DO
$$
BEGIN
BEGIN
UPDATE
par3
.
execucao_prestacao_contas
set
epcstatus
=
'I'
where
epcid
=
'5650'
;
EXCEPTION
WHEN
OTHERS
THEN
RAISE
WARNING
'Erro ao alterar prestacao de contas: %'
,
SQLERRM
;
END
;
BEGIN
UPDATE
par3
.
execucao_prestacao_contas
set
epcstatus
=
'I'
where
epcid
=
'5651'
;
EXCEPTION
WHEN
OTHERS
THEN
RAISE
WARNING
'Erro ao alterar prestacao de contas: %'
,
SQLERRM
;
END
;
perform
alteraestadodoc
(
59908122
,
7168
,
'Tramitado em atendimento a REQ000000345651'
);
perform
alteraestadodoc
(
59908123
,
7169
,
'Tramitado em atendimento a REQ000000345651'
);
perform
alteraestadodoc
(
59933284
,
7168
,
'Tramitado em atendimento a REQ000000345651'
);
perform
alteraestadodoc
(
59933285
,
7169
,
'Tramitado em atendimento a REQ000000345651'
);
END
$$
;
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