refactor(lots): rounded the time needed to print due to a weird issue with a decimal
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user