From 75479f4eedc8b8a20a90ad51b96d9f76b5e90363 Mon Sep 17 00:00:00 2001 From: "lucas.favaro" Date: Thu, 21 May 2026 19:24:11 -0300 Subject: [PATCH] =?UTF-8?q?Atualiza=C3=A7=C3=A3o=20na=20query?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/products/products.module.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/products/products.module.ts b/src/products/products.module.ts index 8fafdf2..41b5a70 100644 --- a/src/products/products.module.ts +++ b/src/products/products.module.ts @@ -1097,7 +1097,7 @@ left join (select pvencto.nroempresa, and vncto.seqproduto = pemp.seqproduto where md.nrodivisao in (1) and pemp.seqproduto = ${args.codproduto} -and me.nroempresa in ${args.ctx_user_companies_for_module} +and me.nroempresa in (${args.ctx_user_companies_for_module}) and pes2.qtdembalagem = (select nvl(max(pes3.qtdembalagem), 1) from consinco.mrl_prodempseg pes3 where pes3.nroempresa = pes.nroempresa