From 9d7e96e4faddb2a7e5ed9e2a99609ed3a5211eb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=B6=9B?= Date: Sat, 20 Aug 2022 17:01:40 +0800 Subject: [PATCH] =?UTF-8?q?fix(typo):=E4=BF=AE=E5=A4=8D=E5=B3=B0=E7=9A=84?= =?UTF-8?q?=E6=8B=BC=E5=86=99=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- model/end_user_detail.go | 10 +++++----- model/report_summary.go | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/model/end_user_detail.go b/model/end_user_detail.go index 588ddce..99ad503 100644 --- a/model/end_user_detail.go +++ b/model/end_user_detail.go @@ -17,25 +17,25 @@ type EndUserDetail struct { WillDilute bool `xorm:"'dilute' bool not null default false" json:"willDilute"` LastPeriodOverall decimal.Decimal `xorm:"numeric(14,2) not null default 0" json:"lastPeriodOverall"` LastPeriodCritical decimal.Decimal `xorm:"numeric(14,2) not null default 0" json:"lastPeriodCritical"` - LastPeriodPeek decimal.Decimal `xorm:"numeric(14,2) not null default 0" json:"lastPeriodPeek"` + LastPeriodPeak decimal.Decimal `xorm:"numeric(14,2) not null default 0" json:"lastPeriodPeak"` LastPeriodFlat decimal.Decimal `xorm:"numeric(14,2) not null default 0" json:"lastPeriodFlat"` LastPeriodValley decimal.Decimal `xorm:"numeric(14,2) not null default 0" json:"lastPeriodValley"` CurrentPeriodOverall decimal.Decimal `xorm:"numeric(14,2) not null default 0" json:"currentPeriodOverall"` CurrentPeriodCritical decimal.Decimal `xorm:"numeric(14,2) not null default 0" json:"currentPeriodCritical"` - CurrentPeriodPeek decimal.Decimal `xorm:"numeric(14,2) not null default 0" json:"currentPeriodPeek"` + CurrentPeriodPeak decimal.Decimal `xorm:"numeric(14,2) not null default 0" json:"currentPeriodPeak"` CurrentPeriodFlat decimal.Decimal `xorm:"numeric(14,2) not null default 0" json:"currentPeriodFlat"` CurrentPeriodValley decimal.Decimal `xorm:"numeric(14,2) not null default 0" json:"currentPeriodValley"` AdjustOverall decimal.Decimal `xorm:"numeric(14,2) not null default 0" json:"adjustOverall"` AdjustCritical decimal.Decimal `xorm:"numeric(14,2) not null default 0" json:"adjustCritical"` - AdjustPeek decimal.Decimal `xorm:"numeric(14,2) not null default 0" json:"adjustPeek"` + AdjustPeak decimal.Decimal `xorm:"numeric(14,2) not null default 0" json:"adjustPeak"` AdjustFlat decimal.Decimal `xorm:"numeric(14,2) not null default 0" json:"adjustFlat"` AdjustValley decimal.Decimal `xorm:"numeric(14,2) not null default 0" json:"adjustValley"` Overall decimal.NullDecimal `xorm:"numeric(14,2)" json:"overall"` OverallFee decimal.NullDecimal `xorm:"numeric(14,2)" json:"overallFee"` Critical decimal.NullDecimal `xorm:"numeric(14,2)" json:"critical"` CriticalFee decimal.NullDecimal `xorm:"numeric(18,8)" json:"criticalFee"` - Peek decimal.NullDecimal `xorm:"numeric(14,2)" json:"peek"` - PeekFee decimal.NullDecimal `xorm:"numeric(18,8)" json:"peekFee"` + Peak decimal.NullDecimal `xorm:"numeric(14,2)" json:"peak"` + PeakFee decimal.NullDecimal `xorm:"numeric(18,8)" json:"peakFee"` Flat decimal.NullDecimal `xorm:"numeric(14,2)" json:"flat"` FlatFee decimal.NullDecimal `xorm:"numeric(18,8)" json:"flatFee"` Valley decimal.NullDecimal `xorm:"numeric(14,2)" json:"valley"` diff --git a/model/report_summary.go b/model/report_summary.go index 42013e3..b10acc3 100644 --- a/model/report_summary.go +++ b/model/report_summary.go @@ -10,9 +10,9 @@ type ReportSummary struct { Critical decimal.Decimal `xorm:"numeric(14,2) not null default 0" json:"critical"` CriticalFee decimal.Decimal `xorm:"numeric(14,2) not null default 0" json:"criticalFee"` CriticalPrice decimal.NullDecimal `xorm:"numeric(16,8)" json:"criticalPrice"` - Peek decimal.Decimal `xorm:"numeric(14,2) not null default 0" json:"peak"` - PeekFee decimal.Decimal `xorm:"numeric(14,2) not null default 0" json:"peakFee"` - PeekPrice decimal.NullDecimal `xorm:"numeric(16,8)" json:"peakPrice"` + Peak decimal.Decimal `xorm:"numeric(14,2) not null default 0" json:"peak"` + PeakFee decimal.Decimal `xorm:"numeric(14,2) not null default 0" json:"peakFee"` + PeakPrice decimal.NullDecimal `xorm:"numeric(16,8)" json:"peakPrice"` Flat decimal.Decimal `xorm:"numeric(14,2) not null default 0" json:"flat"` FlatFee decimal.Decimal `xorm:"numeric(14,2) not null default 0" json:"flatFee"` FlatPrice decimal.NullDecimal `xorm:"numeric(16,8)" json:"flatPrice"`