|
@@ -223,6 +223,7 @@ type EdbInfoCalculateBatchEditReq struct {
|
|
|
Calendar string `description:"公历/农历"`
|
|
|
Extra string `description:"指标的额外配置"`
|
|
|
EdbInfoIdArr []EdbInfoFromTag
|
|
|
+ EmptyType int `description:"空值处理类型(0查找前后35天,1不计算,2前值填充,3后值填充,4等于0)"`
|
|
|
}
|
|
|
|
|
|
// EdbInfoCalculateBatchSaveReqByEdbLib edb指标库的请求逻辑
|
|
@@ -264,6 +265,7 @@ type EdbInfoCalculateBatchEditReqByEdbLib struct {
|
|
|
EdbInfoIdArr []EdbInfoFromTag
|
|
|
Data interface{} `description:"数据列"`
|
|
|
Extra string `description:"指标的额外配置"`
|
|
|
+ EmptyType int `description:"空值处理类型(0查找前后35天,1不计算,2前值填充,3后值填充,4等于0)"`
|
|
|
}
|
|
|
|
|
|
func GetEdbInfoCalculateMap(edbInfoId, source int) (list []*EdbInfo, err error) {
|