|
|
|
@@ -32,31 +32,31 @@ func queryUserDataPage(ctx *context.Context, tableName string) { |
|
|
|
} |
|
|
|
|
|
|
|
func QueryUserStaticCurrentMonth(ctx *context.Context) { |
|
|
|
queryUserDataPage(ctx, "user_business_analysis_current_month") |
|
|
|
queryUserDataPage(ctx, "public.user_business_analysis_current_month") |
|
|
|
} |
|
|
|
|
|
|
|
func QueryUserStaticCurrentWeek(ctx *context.Context) { |
|
|
|
queryUserDataPage(ctx, "user_business_analysis_current_week") |
|
|
|
queryUserDataPage(ctx, "public.user_business_analysis_current_week") |
|
|
|
} |
|
|
|
|
|
|
|
func QueryUserStaticCurrentYear(ctx *context.Context) { |
|
|
|
queryUserDataPage(ctx, "user_business_analysis_current_year") |
|
|
|
queryUserDataPage(ctx, "public.user_business_analysis_current_year") |
|
|
|
} |
|
|
|
|
|
|
|
func QueryUserStaticLast30Day(ctx *context.Context) { |
|
|
|
queryUserDataPage(ctx, "user_business_analysis_last30_day") |
|
|
|
queryUserDataPage(ctx, "public.user_business_analysis_last30_day") |
|
|
|
} |
|
|
|
|
|
|
|
func QueryUserStaticLastMonth(ctx *context.Context) { |
|
|
|
queryUserDataPage(ctx, "user_business_analysis_last_month") |
|
|
|
queryUserDataPage(ctx, "public.user_business_analysis_last_month") |
|
|
|
} |
|
|
|
|
|
|
|
func QueryUserStaticYesterday(ctx *context.Context) { |
|
|
|
queryUserDataPage(ctx, "user_business_analysis_yesterday") |
|
|
|
queryUserDataPage(ctx, "public.user_business_analysis_yesterday") |
|
|
|
} |
|
|
|
|
|
|
|
func QueryUserStaticAll(ctx *context.Context) { |
|
|
|
queryUserDataPage(ctx, "user_business_analysis_all") |
|
|
|
queryUserDataPage(ctx, "public.user_business_analysis_all") |
|
|
|
} |
|
|
|
|
|
|
|
func QueryUserStaticDataPage(ctx *context.Context) { |
|
|
|
|