From 9e2432261cf0d7b7baf5f73e5f9c83c00f2cfaa1 Mon Sep 17 00:00:00 2001 From: RONALDO RODRIGUES DE OLIVEIRA Date: Mon, 3 Feb 2025 17:06:04 -0200 Subject: [PATCH] Update PLpgSQLFunction-etiqNaturezaInteresse-REQ000000329189.sql --- PLpgSQLFunction-etiqNaturezaInteresse-REQ000000329189.sql | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/PLpgSQLFunction-etiqNaturezaInteresse-REQ000000329189.sql b/PLpgSQLFunction-etiqNaturezaInteresse-REQ000000329189.sql index d1a8a80..d50f2d6 100644 --- a/PLpgSQLFunction-etiqNaturezaInteresse-REQ000000329189.sql +++ b/PLpgSQLFunction-etiqNaturezaInteresse-REQ000000329189.sql @@ -22,7 +22,6 @@ BEGIN EXIT; END IF; - -- raise notice 'iniciomandato %, fimmandato %, iniciovigencia %, fimvigencia %, programa %', iniciomandato, fimmandato, iniciovigencia, fimvigencia, programa; SELECT case UPPER(programa) when 'PAC' then (dpcdatainiciocontagem2 + interval '60 day')::date @@ -37,7 +36,7 @@ BEGIN ELSE data_final_pc := fimvigencia + 60; END IF; --- raise notice 'data_final_pc %', data_final_pc; + IF fimmandato IS NULL THEN natureza := 'Atual Gestor /'; IF ((iniciomandato >= iniciovigencia) AND (iniciomandato <= fimvigencia)) THEN -- libgit2 0.25.0