|
|
|
@@ -406,7 +406,7 @@ func queryMetrics(ctx *context.Context, tableName string, startTime time.Time, e |
|
|
|
if tableName == "public.user_business_analysis_yesterday" { |
|
|
|
mapInterface["datarecordbegintime"] = setting.RadarMap.GrowthBeginTime |
|
|
|
if len(result) > 0 { |
|
|
|
dateTime := time.Unix(result[0].CountDate, 0) |
|
|
|
dateTime := time.Unix(result[0].CountDate, 0).AddDate(0, 0, 1) |
|
|
|
mapInterface["lastUpdatedTime"] = dateTime.Format("2006-01-02 15:04:05") |
|
|
|
} else { |
|
|
|
mapInterface["lastUpdatedTime"] = "" |
|
|
|
|