From c4ab5002358a01f29493c4f3ec78d161ae10a8f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=B6=9B?= Date: Mon, 5 Sep 2022 17:57:40 +0800 Subject: [PATCH] =?UTF-8?q?fix(calculate):=E4=BF=AE=E6=AD=A3=E7=BB=88?= =?UTF-8?q?=E7=AB=AF=E7=94=A8=E6=88=B7=E7=9A=84=E6=8D=9F=E5=A4=B1=E5=88=86?= =?UTF-8?q?=E6=91=8A=E7=9A=84=E8=AE=A1=E7=AE=97=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- service/calculate.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/calculate.go b/service/calculate.go index f26c62c..7e8deec 100644 --- a/service/calculate.go +++ b/service/calculate.go @@ -196,7 +196,7 @@ func (_CalculateService) ComprehensivelyCalculateReport(reportId string) (err er eu.LossDiluted = decimal.NewNullDecimal( summary.Loss.Decimal.Mul(eu.OverallProportion).RoundBank(8), ) - eu.LossDiluted = decimal.NewNullDecimal( + eu.LossFeeDiluted = decimal.NewNullDecimal( eu.Overall.Decimal.Mul(summary.LossDilutedPrice.Decimal).RoundBank(8), ) eu.MaintenanceFeeDiluted = decimal.NewNullDecimal(