From 0745822069bff45aff9eceefb9ba8615d2c851f5 Mon Sep 17 00:00:00 2001 From: Marcos Reifonas Date: Fri, 21 Aug 2026 17:44:33 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=80=20Auto-deploy:=20TrackSteelAPP=20a?= =?UTF-8?q?tualizado=20em=2021/08/2026=2017:44:33?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/hooks/useDashboardProducaoOtimizado.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/hooks/useDashboardProducaoOtimizado.tsx b/src/hooks/useDashboardProducaoOtimizado.tsx index 3e00312..96bfd8c 100644 --- a/src/hooks/useDashboardProducaoOtimizado.tsx +++ b/src/hooks/useDashboardProducaoOtimizado.tsx @@ -109,9 +109,9 @@ export const useDashboardProducaoOtimizado = (ofNumber: string) => { .from('apontamentos_producao') .select(` *, - peca:pecas(peso_unitario, marca), - processo:processos_fabricacao(nome, ordem, cor), - componente:componentes_peca(peso_unitario, marca_componente) + peca:pecas!apontamentos_producao_peca_id_fkey(peso_unitario, marca), + processo:processos_fabricacao!apontamentos_producao_processo_id_fkey(nome, ordem, cor), + componente:componentes_peca!apontamentos_producao_componente_id_fkey(peso_unitario, marca_componente) `) .eq('of_number', ofNumber);