refactor(lots): rounded the time needed to print due to a weird issue with a decimal

This commit is contained in:
2025-10-07 06:42:48 -05:00
parent 2a05046bfd
commit 68e577c476

View File

@@ -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