瀏覽代碼

Merge branch 'ETA_1.4.4'

zwxi 1 年之前
父節點
當前提交
2425e10f1f
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      models/edb_data_base.go

+ 5 - 0
models/edb_data_base.go

@@ -9,6 +9,11 @@ func GetEdbDataTableName(source, subSource int) (tableName string) {
 	switch source {
 	case utils.DATA_SOURCE_THS:
 		tableName = "edb_data_ths"
+		if subSource == utils.DATA_SUB_SOURCE_EDB {
+			tableName = "edb_data_ths"
+		} else {
+			tableName = "edb_data_ths_ds"
+		}
 	case utils.DATA_SOURCE_WIND:
 		if subSource == utils.DATA_SUB_SOURCE_EDB {
 			tableName = "edb_data_wind"