Browse Source

提交代码。

Signed-off-by: zouap <zouap@pcl.ac.cn>
tags/v1.22.5.1^2
zouap 4 years ago
parent
commit
1ab7599a43
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      routers/repo/user_data_analysis.go

+ 1
- 1
routers/repo/user_data_analysis.go View File

@@ -264,7 +264,7 @@ func queryMetrics(ctx *context.Context, tableName string, startTime time.Time, e
IsReturnFile := ctx.QueryBool("IsReturnFile")

var count int64
result := make([]models.UserMetrics, 0)
result := make([]*models.UserMetrics, 0)
if tableName == "public.user_business_analysis_current_year" {
result = models.QueryMetricsForYear()
count = int64(len(result))


Loading…
Cancel
Save