@@ -1171,6 +1171,7 @@ func AddStaticPredictEdbInfo(sourceEdbInfoId, classifyId int, edbName, frequency
UnitEn: sourceEdbInfo.UnitEn,
DataDateType: sourceEdbInfo.DataDateType,
Sort: models.GetAddEdbMaxSortByClassifyId(classifyId, utils.PREDICT_EDB_INFO_TYPE),
+ IsStaticData: 1,
}
// 关联关系表
@@ -64,6 +64,7 @@ type EdbInfo struct {
IndicatorCode string `description:"指标代码"`
StockCode string `description:"证券代码"`
Extra string `description:"指标的额外配置"`
+ IsStaticData int `description:"指标额外配置"`
func (e *EdbInfo) Add() (err error) {