瀏覽代碼

Merge branch 'chart/13.0'

# Conflicts:
#	models/tables/edb_data/query.go
#	utils/constants.go
Roc 2 年之前
父節點
當前提交
7a22fc5976
共有 2 個文件被更改,包括 24 次插入0 次删除
  1. 12 0
      models/tables/edb_data/query.go
  2. 12 0
      utils/constants.go

+ 12 - 0
models/tables/edb_data/query.go

@@ -107,6 +107,18 @@ func GetEdbDataTableName(source int) (tableName string) {
 		tableName = "edb_data_predict_calculate_hcz"
 	case utils.DATA_SOURCE_PREDICT_CALCULATE_BP:
 		tableName = "edb_data_predict_calculate_bp"
+	case utils.DATA_SOURCE_CALCULATE_JP:
+		tableName = "edb_data_calculate_jp"
+	case utils.DATA_SOURCE_CALCULATE_NH:
+		tableName = "edb_data_calculate_nh"
+	case utils.DATA_SOURCE_CALCULATE_KSZS:
+		tableName = "edb_data_calculate_kszs"
+	case utils.DATA_SOURCE_PREDICT_CALCULATE_JP:
+		tableName = "edb_data_predict_calculate_jp"
+	case utils.DATA_SOURCE_PREDICT_CALCULATE_NH:
+		tableName = "edb_data_predict_calculate_nh"
+	case utils.DATA_SOURCE_PREDICT_CALCULATE_KSZS:
+		tableName = "edb_data_predict_calculate_kszs"
 	default:
 		tableName = ""
 	}

+ 12 - 0
utils/constants.go

@@ -92,6 +92,12 @@ const (
 	DATA_SOURCE_PREDICT_CALCULATE_LJZTBPJ              //预测指标 - 累计值同比拼接->48
 	DATA_SOURCE_PREDICT_CALCULATE_CJJX                 //预测指标 - 超季节性->49
 	DATA_SOURCE_PREDICT_CALCULATE_NHCC                 //预测指标 - 计算指标(拟合残差)->50
+	DATA_SOURCE_CALCULATE_JP                            //降频->51
+	DATA_SOURCE_CALCULATE_NH                            //年化->52
+	DATA_SOURCE_CALCULATE_KSZS                          //扩散指数->53
+	DATA_SOURCE_PREDICT_CALCULATE_JP                    //预测指标 - 计算指标(降频)->54
+	DATA_SOURCE_PREDICT_CALCULATE_NH                    //预测指标 - 计算指标(年化)->55
+	DATA_SOURCE_PREDICT_CALCULATE_KSZS                  //预测指标 - 计算指标(扩散指数)->56
 )
 
 const (
@@ -203,6 +209,12 @@ var SystemSourceList = []int{
 	DATA_SOURCE_CALCULATE_NHCC,              //计算指标(拟合残差)->37
 	DATA_SOURCE_PREDICT_CALCULATE_NSZYDPJJS, //预测指标 - N数值移动平均计算 -> 39
 	DATA_SOURCE_CALCULATE_ADJUST,            //数据调整->40
+	DATA_SOURCE_CALCULATE_JP,                //降频->51
+	DATA_SOURCE_CALCULATE_NH,                //年化->52
+	DATA_SOURCE_CALCULATE_KSZS,              //扩散指数->53
+	DATA_SOURCE_PREDICT_CALCULATE_JP,        //预测指标 - 计算指标(降频)->54
+	DATA_SOURCE_PREDICT_CALCULATE_NH,        //预测指标 - 计算指标(年化)->55
+	DATA_SOURCE_PREDICT_CALCULATE_KSZS,      //预测指标 - 计算指标(扩散指数)->56
 }
 
 const (