mirror of
https://github.com/catdevnull/preciazo.git
synced 2025-02-23 15:46:28 +00:00
perf: arreglar query
esto multiplicaba los precios por cantidad de datasets T.T tambien
This commit is contained in:
parent
e7bb9b6c29
commit
f7cb6ed483
1 changed files with 1 additions and 0 deletions
|
@ -63,6 +63,7 @@ ORDER BY d1.id_comercio)
|
||||||
.leftJoin(
|
.leftJoin(
|
||||||
banderas,
|
banderas,
|
||||||
and(
|
and(
|
||||||
|
eq(banderas.id_dataset, precios.id_dataset),
|
||||||
eq(banderas.id_comercio, precios.id_comercio),
|
eq(banderas.id_comercio, precios.id_comercio),
|
||||||
eq(banderas.id_bandera, precios.id_bandera)
|
eq(banderas.id_bandera, precios.id_bandera)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue