Quellcode durchsuchen

Merge branch 'ETA_1.4.4'

zwxi vor 1 Jahr
Ursprung
Commit
2425e10f1f
1 geänderte Dateien mit 5 neuen und 0 gelöschten Zeilen
  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"