Browse Source

增加时间输入

Signed-off-by: zouap <zouap@pcl.ac.cn>
tags/v1.22.5.1^2
zouap 3 years ago
parent
commit
86237a9758
1 changed files with 1 additions and 3 deletions
  1. +1
    -3
      models/user_business_analysis.go

+ 1
- 3
models/user_business_analysis.go View File

@@ -305,6 +305,7 @@ func makeResultForMonth(allUserInfo []UserMetrics, count int) []UserMetrics {
monthUserMetrics.ActivateRegistUser = userMetrics.ActivateRegistUser
monthUserMetrics.NotActivateRegistUser = userMetrics.NotActivateRegistUser
monthUserMetrics.TotalUser = userMetrics.TotalUser
monthUserMetrics.TotalNotActivateRegistUser = userMetrics.TotalUser - userMetrics.TotalActivateRegistUser
monthUserMetrics.TotalActivateRegistUser = userMetrics.TotalActivateRegistUser
monthUserMetrics.TotalHasActivityUser = userMetrics.TotalHasActivityUser
monthUserMetrics.HasActivityUser = userMetrics.HasActivityUser
@@ -315,9 +316,6 @@ func makeResultForMonth(allUserInfo []UserMetrics, count int) []UserMetrics {
value := monthMap[month]
value.ActivateRegistUser += userMetrics.ActivateRegistUser
value.NotActivateRegistUser += userMetrics.NotActivateRegistUser
value.TotalUser += userMetrics.TotalUser
value.TotalActivateRegistUser += userMetrics.TotalActivateRegistUser
value.TotalHasActivityUser += userMetrics.TotalHasActivityUser
value.HasActivityUser += userMetrics.HasActivityUser
value.TotalRegistUser += userMetrics.TotalRegistUser
value.DaysForMonth += 1


Loading…
Cancel
Save