Ajuste query flash categoria
davinTI/app-dono-modulos/pipeline/head There was a failure building this commit
davinTI/app-dono-modulos/pipeline/head There was a failure building this commit
This commit is contained in:
@@ -1079,7 +1079,6 @@ where 1 = 0`,
|
|||||||
filhos AS (
|
filhos AS (
|
||||||
SELECT
|
SELECT
|
||||||
n.id_nodo,
|
n.id_nodo,
|
||||||
-- Altera��o cir�rgica: unifica o c�digo pelo nome apenas se n�o houver os filtros
|
|
||||||
CASE
|
CASE
|
||||||
WHEN p.cod_empresa IS NULL AND p.codigo_categoria_pai IS NULL THEN
|
WHEN p.cod_empresa IS NULL AND p.codigo_categoria_pai IS NULL THEN
|
||||||
MIN(n.ID_NODO) OVER (PARTITION BY n.nome)
|
MIN(n.ID_NODO) OVER (PARTITION BY n.nome)
|
||||||
|
|||||||
Reference in New Issue
Block a user