Browse Source

获取表名函数fix

ziwen 3 years ago
parent
commit
7ad177e61d
1 changed files with 2 additions and 0 deletions
  1. 2 0
      models/data_manage/edb_data_base.go

+ 2 - 0
models/data_manage/edb_data_base.go

@@ -60,6 +60,8 @@ func GetEdbDataTableName(source int) (tableName string) {
 		tableName = "edb_data_calculate_ljztbpj"
 	case utils.DATA_SOURCE_LT:
 		tableName = "edb_data_lt"
+	case utils.DATA_SOURCE_COAL:
+		tableName = "edb_data_coal"
 	default:
 		tableName = ""
 	}