From 68e577c4769f361bfe44c010d92f5e2255d63534 Mon Sep 17 00:00:00 2001 From: Blake Matthes Date: Tue, 7 Oct 2025 06:42:48 -0500 Subject: [PATCH] refactor(lots): rounded the time needed to print due to a weird issue with a decimal --- lstV2/server/services/sqlServer/querys/ocp/lots.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lstV2/server/services/sqlServer/querys/ocp/lots.ts b/lstV2/server/services/sqlServer/querys/ocp/lots.ts index 195e86e..c28f8eb 100644 --- a/lstV2/server/services/sqlServer/querys/ocp/lots.ts +++ b/lstV2/server/services/sqlServer/querys/ocp/lots.ts @@ -34,7 +34,7 @@ select IdMaschinen_ProdPlanung as LabelOnlineID, p.MaschZyklus as cycleTime, x.StueckzahlJePalette, p.WerkzeugKavität, - (((x.StueckzahlJePalette /p.WerkzeugKavität) * p.MaschZyklus) * (p.MaschAuslastung/100)) * .70 as timeTOmakeInSeconds + ROUND((((x.StueckzahlJePalette /p.WerkzeugKavität) * p.MaschZyklus) * (p.MaschAuslastung/100)) * .75,0) as timeTOmakeInSeconds --* from AlplaPROD_test1.dbo.V_Maschinen_ProdPlanungen x (nolock) join