|
|
|
@@ -513,7 +513,7 @@ func QueryUserMetricsLastMonth(ctx *context.Context) { |
|
|
|
thisMonth := time.Date(currentTimeNow.Year(), currentTimeNow.Month(), 1, 0, 0, 0, 0, currentTimeNow.Location()) |
|
|
|
pageStartTime := thisMonth.AddDate(0, -1, 0) |
|
|
|
pageStartTime = getStartTime(pageStartTime) |
|
|
|
pageEndTime := time.Date(currentTimeNow.Year(), currentTimeNow.Month(), 1, 0, 0, 0, 0, currentTimeNow.Location()).AddDate(0, 0, -1) |
|
|
|
pageEndTime := time.Date(currentTimeNow.Year(), currentTimeNow.Month(), 1, 23, 59, 59, 0, currentTimeNow.Location()).AddDate(0, 0, -1) |
|
|
|
queryMetrics(ctx, "public.user_business_analysis_last_month", pageStartTime, pageEndTime) |
|
|
|
} |
|
|
|
func QueryUserStaticLastMonth(ctx *context.Context) { |
|
|
|
|