AnalysisIndexAnalysis

package
v5.3.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 15, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArgsGetAnalysisIndexCount

type ArgsGetAnalysisIndexCount struct {
	//指定编码
	CodeList pq.StringArray `db:"code_list" json:"codeList"`
	//时间范围
	StartAt string `db:"start_at" json:"startAt"`
	EndAt   string `db:"end_at" json:"endAt"`
}

ArgsGetAnalysisIndexCount 获取所有指标的总体值参数

type DataGetAnalysisIndexCount

type DataGetAnalysisIndexCount struct {
	//指标编码
	Code string `db:"code" json:"code"`
	//数据量
	DataCount int64 `db:"data_count" json:"dataCount"`
	//最小时间
	MinTime string `db:"min_time" json:"minTime"`
	//最大时间
	MaxTime string `db:"max_time" json:"maxTime"`
	//数据最小值
	MinVal float64 `db:"min_val" json:"minVal"`
	//数据最大值
	MaxVal float64 `db:"max_val" json:"maxVal"`
	//是否系统内置
	IsSystem bool `db:"is_system" json:"isSystem"`
	//是否为自定义指标
	IsCustom bool `db:"is_custom" json:"isCustom"`
	//是否为筛选指标
	// 筛选类指标部分情况下,不包含时间维度
	IsFilter bool `db:"is_filter" json:"isFilter"`
}

DataGetAnalysisIndexCount 获取所有指标的总体值参数

func GetAnalysisIndexCount

func GetAnalysisIndexCount(args *ArgsGetAnalysisIndexCount) (dataList []DataGetAnalysisIndexCount)

GetAnalysisIndexCount 获取所有指标的总体值 不含维度筛选

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL