From 107efc1b1f89e49964835afdc9d0d1c70324f0f2 Mon Sep 17 00:00:00 2001 From: jh_peng Date: Thu, 12 Dec 2024 09:44:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E8=89=AF=E7=8E=87-=E6=8C=89?= =?UTF-8?q?=E4=BA=A7=E5=93=81=20=E4=B8=8D=E8=89=AF=E5=9B=BE=E8=A1=A8?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=E5=A2=9E=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- repository/test.data/report.chart.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/repository/test.data/report.chart.go b/repository/test.data/report.chart.go index 6591060..d5e17fc 100644 --- a/repository/test.data/report.chart.go +++ b/repository/test.data/report.chart.go @@ -428,6 +428,9 @@ func FTPassProbabilityByProduct(r *request.PassProbabilityByProduct) (*model.Lin scrappedDecimal, _ := decimal.NewFromString(report.Scrapped) scrapped, _ := scrappedDecimal.Float64() binMap["scrapped"] += scrapped + bentStitchDecimal, _ := decimal.NewFromString(report.BentStitch) + bentStitch, _ := bentStitchDecimal.Float64() + binMap["bent_stitch"] += bentStitch otherDecimal, _ := decimal.NewFromString(report.Other) other, _ := otherDecimal.Float64() binMap["other"] += other