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:
@@ -1083,7 +1083,7 @@ where 1 = 0`,
|
||||
FROM VERDEMAR.TB_FLASH_NODO n
|
||||
CROSS JOIN Parametros p
|
||||
WHERE n.ativo = 'S'
|
||||
AND ( (p.id_nodo_pai IS NULL AND n.id_nodo_pai IS NULL AND n.tipo_nodo = 'CATEGORIA')
|
||||
AND ( (p.id_nodo_pai IS NULL AND n.tipo_nodo = 'CATEGORIA' AND n.NIVEL = 2)
|
||||
OR (p.id_nodo_pai IS NOT NULL AND n.id_nodo_pai = p.id_nodo_pai) )
|
||||
AND (p.cod_empresa IS NULL OR n.cod_empresa = p.cod_empresa)
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user