Merge branch 'feat-hjj-ExportBat'
This commit is contained in:
commit
652e23e1e9
@ -431,9 +431,9 @@ func MetricsBalanceDetailExport(ctx *gin.Context) {
|
||||
sumIncrease := decimal.Zero
|
||||
sumTotal := decimal.Zero
|
||||
|
||||
for _, i := range items {
|
||||
sumBundle = sumBundle.Add(i.BundleVideoUsedPrice)
|
||||
sumIncrease = sumIncrease.Add(i.IncreaseVideoUsedPrice)
|
||||
for _, i := range data {
|
||||
sumBundle = sumBundle.Add(i.BundleVideoUsedPrice.Round(2))
|
||||
sumIncrease = sumIncrease.Add(i.IncreaseVideoUsedPrice.Round(2))
|
||||
}
|
||||
|
||||
sumTotal = sumBundle.Add(sumIncrease)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user