Documentation
¶
Index ¶
- Variables
- func CreateVal(args *ArgsCreateVal) (err error)
- func GetAnalysisIndexValTotalCount(code string, afterAt time.Time) (count int64)
- func GetAnalysisIndexValTotalCountByBetweenAt(code string, startTime time.Time, endTime time.Time) (count int64)
- func GetAvgValByCode(code string) (avg float64)
- func GetAvgValNormByCode(code string) (avg float64)
- func GetEventExtendDistinctList(extendNum int) (dataList []string, err error)
- func Init() (err error)
- func RefAnalysisIndexValTotal(args *ArgsRefAnalysisIndexValTotal) (err error)
- func UpdateNormalValByCode(args *ArgsUpdateNormalValByCode) (err error)
- type ArgsCreateVal
- type ArgsGetAnalysisIndexValTotal
- type ArgsGetAnalysisIndexValTotalAll
- type ArgsGetValsByBetweenAt
- type ArgsGetValsByBetweenAtAndAutoFull
- type ArgsGetValsByBetweenAtAndAutoFullChild
- type ArgsGetValsByFilter
- type ArgsRefAnalysisIndexValTotal
- type ArgsUpdateNormalValByCode
- type DataGetAnalysisIndexValTotal
- type DataGetAnalysisIndexValTotalAll
- type DataGetValsByBetweenAt
- type DataGetValsByBetweenAtAndAutoFull
- type DataGetValsByBetweenAtAndAutoFullChild
- type FieldsVal
- type FieldsWide
Constants ¶
This section is empty.
Variables ¶
var ( //OpenSub 是否启动订阅 OpenSub = false )
Functions ¶
func GetAnalysisIndexValTotalCount ¶
GetAnalysisIndexValTotalCount 获取指标计算的数量
func GetAnalysisIndexValTotalCountByBetweenAt ¶
func GetAnalysisIndexValTotalCountByBetweenAt(code string, startTime time.Time, endTime time.Time) (count int64)
GetAnalysisIndexValTotalCountByBetweenAt 获取指标在指定时间断内的数据量
func GetAvgValNormByCode ¶
GetAvgValNormByCode 获取指定指标平均值
func GetEventExtendDistinctList ¶
GetEventExtendDistinctList 获取指定维度的所有可选值
func RefAnalysisIndexValTotal ¶
func RefAnalysisIndexValTotal(args *ArgsRefAnalysisIndexValTotal) (err error)
RefAnalysisIndexValTotal 指标总体值及归一化计算 注意:此方法不能用于预测值,预测值请使用CreateVal方法; 归一化处理请使用reviseNormVal方法
func UpdateNormalValByCode ¶
func UpdateNormalValByCode(args *ArgsUpdateNormalValByCode) (err error)
UpdateNormalValByCode 修订指定数据的归一化值
Types ¶
type ArgsCreateVal ¶
type ArgsCreateVal struct {
//指标编码
Code string `db:"code" json:"code" check:"des" min:"1" max:"50" index:"true"`
//年月日
// 可任意持续,如年,或仅年月
// 不建议构建小时及以下级别的指标
// 同一个维度和时间范围,仅会存在一个数据,否则将覆盖
YearMD string `db:"year_md" json:"yearMD" index:"true"`
//扩展维度1
// 可建议特别的维度关系,例如特定供应商的数据、特定地区的数据等
Extend1 string `db:"extend1" json:"extend1" index:"true"`
//扩展维度2
Extend2 string `db:"extend2" json:"extend2" index:"true"`
//扩展维度3
Extend3 string `db:"extend3" json:"extend3" index:"true"`
//扩展维度4
Extend4 string `db:"extend4" json:"extend4" index:"true"`
//扩展维度5
Extend5 string `db:"extend5" json:"extend5" index:"true"`
//原始值
ValRaw float64 `db:"val_raw" json:"valRaw" index:"true"`
//是否为预测值
IsForecast bool `db:"is_forecast" json:"isForecast"`
}
ArgsCreateVal 插入新的统计数据参数
type ArgsGetAnalysisIndexValTotal ¶
type ArgsGetAnalysisIndexValTotal struct {
//指标编码
Code string `db:"code" json:"code" check:"des" min:"1" max:"50" index:"true"`
//年月日
// 可任意持续,如年,或仅年月
// 不建议构建小时及以下级别的指标
// 同一个维度和时间范围,仅会存在一个数据,否则将覆盖
YearMD string `db:"year_md" json:"yearMD" index:"true"`
//排除列
ExcludeCol pq.StringArray `db:"exclude_col" json:"excludeCol"`
//是否为预测值
IsForecast bool `db:"is_forecast" json:"isForecast"`
}
type ArgsGetAnalysisIndexValTotalAll ¶
type ArgsGetAnalysisIndexValTotalAll struct {
//指定编码
CodeList pq.StringArray `db:"code_list" json:"codeList"`
//时间范围
StartAt string `db:"start_at" json:"startAt"`
EndAt string `db:"end_at" json:"endAt"`
}
type ArgsGetValsByBetweenAt ¶
type ArgsGetValsByBetweenAt struct {
//指标编码
Code string `db:"code" json:"code" check:"des" min:"1" max:"50" index:"true"`
//时间范围
StartAt string `json:"startAt"`
EndAt string `json:"endAt"`
//扩展维度1
// 可建议特别的维度关系,例如特定供应商的数据、特定地区的数据等
Extend1 string `db:"extend1" json:"extend1" index:"true"`
//扩展维度2
Extend2 string `db:"extend2" json:"extend2" index:"true"`
//扩展维度3
Extend3 string `db:"extend3" json:"extend3" index:"true"`
//扩展维度4
Extend4 string `db:"extend4" json:"extend4" index:"true"`
//扩展维度5
Extend5 string `db:"extend5" json:"extend5" index:"true"`
//原始值范围
ValRawMin float64 `db:"val_raw_min" json:"valRawMin"`
ValRawMax float64 `db:"val_raw_max" json:"valRawMax"`
//归一化值范围
ValNormMin float64 `db:"val_norm_min" json:"valNormMin"`
ValNormMax float64 `db:"val_norm_max" json:"valNormMax"`
}
ArgsGetValsByBetweenAt 获取指定时间范围内的指标值参数
type ArgsGetValsByBetweenAtAndAutoFull ¶
type ArgsGetValsByBetweenAtAndAutoFull struct {
//时间范围
StartAt string `json:"startAt"`
EndAt string `json:"endAt"`
//时间类型
// 可选值:year, month, day
DateType string `json:"dateType"`
//指标参数集合
// 允许给予不同指标、不同筛选条件
IndexList []ArgsGetValsByBetweenAtAndAutoFullChild `json:"indexList"`
}
ArgsGetValsByBetweenAtAndAutoFull 获取指定时间范围的多指标数据集参数
type ArgsGetValsByBetweenAtAndAutoFullChild ¶
type ArgsGetValsByBetweenAtAndAutoFullChild struct {
//指标编码
Code string `db:"code" json:"code" check:"des" min:"1" max:"50" index:"true"`
//扩展维度1
// 可建议特别的维度关系,例如特定供应商的数据、特定地区的数据等
Extend1 string `db:"extend1" json:"extend1" index:"true"`
//扩展维度2
Extend2 string `db:"extend2" json:"extend2" index:"true"`
//扩展维度3
Extend3 string `db:"extend3" json:"extend3" index:"true"`
//扩展维度4
Extend4 string `db:"extend4" json:"extend4" index:"true"`
//扩展维度5
Extend5 string `db:"extend5" json:"extend5" index:"true"`
//原始值范围
ValRawMin float64 `db:"val_raw_min" json:"valRawMin"`
ValRawMax float64 `db:"val_raw_max" json:"valRawMax"`
//归一化值范围
ValNormMin float64 `db:"val_norm_min" json:"valNormMin"`
ValNormMax float64 `db:"val_norm_max" json:"valNormMax"`
}
type ArgsGetValsByFilter ¶
type ArgsGetValsByFilter struct {
//指标编码
Code string `db:"code" json:"code" check:"des" min:"1" max:"50" index:"true"`
//年月日
// 可任意持续,如年,或仅年月
// 不建议构建小时及以下级别的指标
// 同一个维度和时间范围,仅会存在一个数据,否则将覆盖
YearMD string `db:"year_md" json:"yearMD" index:"true"`
//扩展维度1
// 可建议特别的维度关系,例如特定供应商的数据、特定地区的数据等
Extend1 string `db:"extend1" json:"extend1" index:"true"`
//扩展维度2
Extend2 string `db:"extend2" json:"extend2" index:"true"`
//扩展维度3
Extend3 string `db:"extend3" json:"extend3" index:"true"`
//扩展维度4
Extend4 string `db:"extend4" json:"extend4" index:"true"`
//扩展维度5
Extend5 string `db:"extend5" json:"extend5" index:"true"`
//是否为预测值
IsForecast bool `db:"is_forecast" json:"isForecast"`
}
ArgsGetValsByFilter 获取指定的数据
type ArgsRefAnalysisIndexValTotal ¶
type ArgsRefAnalysisIndexValTotal struct {
//指标编码
Code string `db:"code" json:"code" check:"des" min:"1" max:"50" index:"true"`
//年月日
// 可任意持续,如年,或仅年月
// 不建议构建小时及以下级别的指标
// 同一个维度和时间范围,仅会存在一个数据,否则将覆盖
YearMD string `db:"year_md" json:"yearMD" index:"true"`
//计算方式
// count/sum/avg/max/min
CalcType string `db:"calc_type" json:"calcType"`
//排除列
ExcludeCol pq.StringArray `db:"exclude_col" json:"excludeCol"`
}
ArgsRefAnalysisIndexValTotal 指标总体值及归一化计算参数
type ArgsUpdateNormalValByCode ¶
type ArgsUpdateNormalValByCode struct {
//指标编码
Code string `db:"code" json:"code" check:"des" min:"1" max:"50" index:"true"`
//年月日
// 可任意持续,如年,或仅年月
// 不建议构建小时及以下级别的指标
// 同一个维度和时间范围,仅会存在一个数据,否则将覆盖
YearMD string `db:"year_md" json:"yearMD" index:"true"`
//扩展维度1
// 可建议特别的维度关系,例如特定供应商的数据、特定地区的数据等
Extend1 string `db:"extend1" json:"extend1" index:"true"`
//扩展维度2
Extend2 string `db:"extend2" json:"extend2" index:"true"`
//扩展维度3
Extend3 string `db:"extend3" json:"extend3" index:"true"`
//扩展维度4
Extend4 string `db:"extend4" json:"extend4" index:"true"`
//扩展维度5
Extend5 string `db:"extend5" json:"extend5" index:"true"`
//归一化值
ValNorm float64 `db:"val_norm" json:"valNorm" index:"true"`
//是否为预测值
IsForecast bool `db:"is_forecast" json:"isForecast"`
}
type DataGetAnalysisIndexValTotal ¶
type DataGetAnalysisIndexValTotal struct {
//次数
ValCount int64 `db:"val_count" json:"valCount"`
//累计值
SumVal float64 `db:"sum_val" json:"sumVal"`
//平均值
AvgVal float64 `db:"avg_val" json:"avgVal"`
//最大值
MaxVal float64 `db:"max_val" json:"maxVal"`
//最小值
MinVal float64 `db:"min_val" json:"minVal"`
}
DataGetAnalysisIndexValTotal 计算某个指标存在维度值的总体值分布数据
func GetAnalysisIndexValTotal ¶
func GetAnalysisIndexValTotal(args *ArgsGetAnalysisIndexValTotal) (data DataGetAnalysisIndexValTotal, err error)
GetAnalysisIndexValTotal 计算某个指标存在维度值的总体值分布 只查询该指标下,维度存在数据,但
type DataGetAnalysisIndexValTotalAll ¶
type DataGetAnalysisIndexValTotalAll 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"`
}
DataGetAnalysisIndexValTotalAll 获取所有指标的总体值参数
func GetAnalysisIndexValTotalAll ¶
func GetAnalysisIndexValTotalAll(args *ArgsGetAnalysisIndexValTotalAll) (dataList []DataGetAnalysisIndexValTotalAll, err error)
GetAnalysisIndexValTotalAll 获取所有指标的总体值 不含维度筛选
type DataGetValsByBetweenAt ¶
type DataGetValsByBetweenAt struct {
//年月日
// 可任意持续,如年,或仅年月
// 不建议构建小时及以下级别的指标
// 同一个维度和时间范围,仅会存在一个数据,否则将覆盖
YearMD string `db:"year_md" json:"yearMD" index:"true"`
//扩展维度1
// 可建议特别的维度关系,例如特定供应商的数据、特定地区的数据等
Extend1 string `db:"extend1" json:"extend1" index:"true"`
//扩展维度2
Extend2 string `db:"extend2" json:"extend2" index:"true"`
//扩展维度3
Extend3 string `db:"extend3" json:"extend3" index:"true"`
//扩展维度4
Extend4 string `db:"extend4" json:"extend4" index:"true"`
//扩展维度5
Extend5 string `db:"extend5" json:"extend5" index:"true"`
//原始值
ValRaw float64 `db:"val_raw" json:"valRaw" index:"true"`
//归一化值
ValNorm float64 `db:"val_norm" json:"valNorm" index:"true"`
//是否为预测值
IsForecast bool `db:"is_forecast" json:"isForecast"`
}
DataGetValsByBetweenAt 获取指定时间范围内的指标值数据
func GetValsByBetweenAt ¶
func GetValsByBetweenAt(args *ArgsGetValsByBetweenAt) (dataList []DataGetValsByBetweenAt, err error)
GetValsByBetweenAt 获取指定时间范围内的指标值
type DataGetValsByBetweenAtAndAutoFull ¶
type DataGetValsByBetweenAtAndAutoFull struct {
//指标编码
Code string `db:"code" json:"code" check:"des" min:"1" max:"50" index:"true"`
//扩展维度1
// 可建议特别的维度关系,例如特定供应商的数据、特定地区的数据等
Extend1 string `db:"extend1" json:"extend1" index:"true"`
//扩展维度2
Extend2 string `db:"extend2" json:"extend2" index:"true"`
//扩展维度3
Extend3 string `db:"extend3" json:"extend3" index:"true"`
//扩展维度4
Extend4 string `db:"extend4" json:"extend4" index:"true"`
//扩展维度5
Extend5 string `db:"extend5" json:"extend5" index:"true"`
//数据集合
DataList []DataGetValsByBetweenAtAndAutoFullChild `db:"data_list" json:"dataList"`
}
DataGetValsByBetweenAtAndAutoFull 获取指定时间范围的多指标数据集数据
func GetValsByBetweenAtAndAutoFull ¶
func GetValsByBetweenAtAndAutoFull(args *ArgsGetValsByBetweenAtAndAutoFull) (dataList []DataGetValsByBetweenAtAndAutoFull, err error)
GetValsByBetweenAtAndAutoFull 获取指定时间范围的多指标数据集
type DataGetValsByBetweenAtAndAutoFullChild ¶
type DataGetValsByBetweenAtAndAutoFullChild struct {
//年月日
// 可任意持续,如年,或仅年月
// 不建议构建小时及以下级别的指标
// 同一个维度和时间范围,仅会存在一个数据,否则将覆盖
YearMD string `db:"year_md" json:"yearMD" index:"true"`
//原始值
ValRaw float64 `db:"val_raw" json:"valRaw" index:"true"`
//归一化值
ValNorm float64 `db:"val_norm" json:"valNorm" index:"true"`
//是否为预测值
IsForecast bool `db:"is_forecast" json:"isForecast"`
}
type FieldsVal ¶
type FieldsVal struct {
// ID
ID int64 `db:"id" json:"id" check:"id" unique:"true"`
//创建时间
CreateAt time.Time `db:"create_at" json:"createAt" default:"now()"`
//更新时间
UpdateAt time.Time `db:"update_at" json:"updateAt" default:"now()"`
//删除时间
DeleteAt time.Time `db:"delete_at" json:"deleteAt" default:"0" index:"true"`
//指标编码
Code string `db:"code" json:"code" check:"des" min:"1" max:"50" index:"true" field_list:"true"`
//年月日
// 可任意持续,如年,或仅年月
// 不建议构建小时及以下级别的指标
// 同一个维度和时间范围,仅会存在一个数据,否则将覆盖
YearMD string `db:"year_md" json:"yearMD" index:"true" field_list:"true"`
//扩展维度1
// 可建议特别的维度关系,例如特定供应商的数据、特定地区的数据等
Extend1 string `db:"extend1" json:"extend1" index:"true" field_list:"true"`
//扩展维度2
Extend2 string `db:"extend2" json:"extend2" index:"true" field_list:"true"`
//扩展维度3
Extend3 string `db:"extend3" json:"extend3" index:"true" field_list:"true"`
//扩展维度4
Extend4 string `db:"extend4" json:"extend4" index:"true" field_list:"true"`
//扩展维度5
Extend5 string `db:"extend5" json:"extend5" index:"true" field_list:"true"`
//原始值
ValRaw float64 `db:"val_raw" json:"valRaw" index:"true"`
//归一化值
ValNorm float64 `db:"val_norm" json:"valNorm" index:"true"`
//是否为预测值
IsForecast bool `db:"is_forecast" json:"isForecast"`
}
FieldsVal 指标值
func GetValsByFilter ¶
func GetValsByFilter(args *ArgsGetValsByFilter) (data FieldsVal)
GetValsByFilter 获取指定的数据 注意判断YearMD,如果为空则没有数据
type FieldsWide ¶
type FieldsWide struct {
// ID
ID int64 `db:"id" json:"id" check:"id" unique:"true"`
//创建时间
CreateAt time.Time `db:"create_at" json:"createAt" default:"now()"`
//更新时间
UpdateAt time.Time `db:"update_at" json:"updateAt" default:"now()"`
//删除时间
DeleteAt time.Time `db:"delete_at" json:"deleteAt" default:"0" index:"true"`
//年月日
// 可任意持续,如年,或仅年月
// 不建议构建小时及以下级别的指标
// 同一个维度和时间范围,仅会存在一个数据,否则将覆盖
YearMD string `db:"year_md" json:"yearMD" index:"true" field_list:"true"`
//扩展维度1
// 可建议特别的维度关系,例如特定供应商的数据、特定地区的数据等
Extend1 string `db:"extend1" json:"extend1" index:"true" field_list:"true"`
//扩展维度2
Extend2 string `db:"extend2" json:"extend2" index:"true" field_list:"true"`
//扩展维度3
Extend3 string `db:"extend3" json:"extend3" index:"true" field_list:"true"`
//扩展维度4
Extend4 string `db:"extend4" json:"extend4" index:"true" field_list:"true"`
//扩展维度5
Extend5 string `db:"extend5" json:"extend5" index:"true" field_list:"true"`
//是否为预测值
IsForecast bool `db:"is_forecast" json:"isForecast"`
//////////////////////////////////////////////////////////////////////////////////
//值
//////////////////////////////////////////////////////////////////////////////////
//指标编码
Code1 string `db:"code1" json:"code1" index:"true" field_list:"true"`
Val1 float64 `db:"val1" json:"val1"`
Code2 string `db:"code2" json:"code2" index:"true" field_list:"true"`
Val2 float64 `db:"val2" json:"val2"`
Code3 string `db:"code3" json:"code3" index:"true" field_list:"true"`
Val3 float64 `db:"val3" json:"val3"`
Code4 string `db:"code4" json:"code4" index:"true" field_list:"true"`
Val4 float64 `db:"val4" json:"val4"`
Code5 string `db:"code5" json:"code5" index:"true" field_list:"true"`
Val5 float64 `db:"val5" json:"val5"`
Code6 string `db:"code6" json:"code6" index:"true" field_list:"true"`
Val6 float64 `db:"val6" json:"val6"`
Code7 string `db:"code7" json:"code7" index:"true" field_list:"true"`
Val7 float64 `db:"val7" json:"val7"`
Code8 string `db:"code8" json:"code8" index:"true" field_list:"true"`
Val8 float64 `db:"val8" json:"val8"`
Code9 string `db:"code9" json:"code9" index:"true" field_list:"true"`
Val9 float64 `db:"val9" json:"val9"`
Code10 string `db:"code10" json:"code10" index:"true" field_list:"true"`
Val10 float64 `db:"val10" json:"val10"`
Code11 string `db:"code11" json:"code11" index:"true" field_list:"true"`
Val11 float64 `db:"val11" json:"val11"`
Code12 string `db:"code12" json:"code12" index:"true" field_list:"true"`
Val12 float64 `db:"val12" json:"val12"`
Code13 string `db:"code13" json:"code13" index:"true" field_list:"true"`
Val13 float64 `db:"val13" json:"val13"`
Code14 string `db:"code14" json:"code14" index:"true" field_list:"true"`
Val14 float64 `db:"val14" json:"val14"`
Code15 string `db:"code15" json:"code15" index:"true" field_list:"true"`
Val15 float64 `db:"val15" json:"val15"`
Code16 string `db:"code16" json:"code16" index:"true" field_list:"true"`
Val16 float64 `db:"val16" json:"val16"`
Code17 string `db:"code17" json:"code17" index:"true" field_list:"true"`
Val17 float64 `db:"val17" json:"val17"`
Code18 string `db:"code18" json:"code18" index:"true" field_list:"true"`
Val18 float64 `db:"val18" json:"val18"`
Code19 string `db:"code19" json:"code19" index:"true" field_list:"true"`
Val19 float64 `db:"val19" json:"val19"`
Code20 string `db:"code20" json:"code20" index:"true" field_list:"true"`
Val20 float64 `db:"val20" json:"val20"`
Code21 string `db:"code21" json:"code21" index:"true" field_list:"true"`
Val21 float64 `db:"val21" json:"val21"`
Code22 string `db:"code22" json:"code22" index:"true" field_list:"true"`
Val22 float64 `db:"val22" json:"val22"`
Code23 string `db:"code23" json:"code23" index:"true" field_list:"true"`
Val23 float64 `db:"val23" json:"val23"`
Code24 string `db:"code24" json:"code24" index:"true" field_list:"true"`
Val24 float64 `db:"val24" json:"val24"`
Code25 string `db:"code25" json:"code25" index:"true" field_list:"true"`
Val25 float64 `db:"val25" json:"val25"`
Code26 string `db:"code26" json:"code26" index:"true" field_list:"true"`
Val26 float64 `db:"val26" json:"val26"`
Code27 string `db:"code27" json:"code27" index:"true" field_list:"true"`
Val27 float64 `db:"val27" json:"val27"`
Code28 string `db:"code28" json:"code28" index:"true" field_list:"true"`
Val28 float64 `db:"val28" json:"val28"`
Code29 string `db:"code29" json:"code29" index:"true" field_list:"true"`
Val29 float64 `db:"val29" json:"val29"`
Code30 string `db:"code30" json:"code30" index:"true" field_list:"true"`
Val30 float64 `db:"val30" json:"val30"`
Code31 string `db:"code31" json:"code31" index:"true" field_list:"true"`
Val31 float64 `db:"val31" json:"val31"`
Code32 string `db:"code32" json:"code32" index:"true" field_list:"true"`
Val32 float64 `db:"val32" json:"val32"`
Code33 string `db:"code33" json:"code33" index:"true" field_list:"true"`
Val33 float64 `db:"val33" json:"val33"`
Code34 string `db:"code34" json:"code34" index:"true" field_list:"true"`
Val34 float64 `db:"val34" json:"val34"`
Code35 string `db:"code35" json:"code35" index:"true" field_list:"true"`
Val35 float64 `db:"val35" json:"val35"`
Code36 string `db:"code36" json:"code36" index:"true" field_list:"true"`
Val36 float64 `db:"val36" json:"val36"`
Code37 string `db:"code37" json:"code37" index:"true" field_list:"true"`
Val37 float64 `db:"val37" json:"val37"`
Code38 string `db:"code38" json:"code38" index:"true" field_list:"true"`
Val38 float64 `db:"val38" json:"val38"`
Code39 string `db:"code39" json:"code39" index:"true" field_list:"true"`
Val39 float64 `db:"val39" json:"val39"`
Code40 string `db:"code40" json:"code40" index:"true" field_list:"true"`
Val40 float64 `db:"val40" json:"val40"`
Code41 string `db:"code41" json:"code41" index:"true" field_list:"true"`
Val41 float64 `db:"val41" json:"val41"`
Code42 string `db:"code42" json:"code42" index:"true" field_list:"true"`
Val42 float64 `db:"val42" json:"val42"`
Code43 string `db:"code43" json:"code43" index:"true" field_list:"true"`
Val43 float64 `db:"val43" json:"val43"`
Code44 string `db:"code44" json:"code44" index:"true" field_list:"true"`
Val44 float64 `db:"val44" json:"val44"`
Code45 string `db:"code45" json:"code45" index:"true" field_list:"true"`
Val45 float64 `db:"val45" json:"val45"`
Code46 string `db:"code46" json:"code46" index:"true" field_list:"true"`
Val46 float64 `db:"val46" json:"val46"`
Code47 string `db:"code47" json:"code47" index:"true" field_list:"true"`
Val47 float64 `db:"val47" json:"val47"`
Code48 string `db:"code48" json:"code48" index:"true" field_list:"true"`
Val48 float64 `db:"val48" json:"val48"`
Code49 string `db:"code49" json:"code49" index:"true" field_list:"true"`
Val49 float64 `db:"val49" json:"val49"`
Code50 string `db:"code50" json:"code50" index:"true" field_list:"true"`
Val50 float64 `db:"val50" json:"val50"`
}
FieldsWide 超宽表记录 该结构和val存在一些差异,但本质上是一致的,可以方便记录同一个时间下、同一个维度的大量数据集