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