|
@@ -165,14 +165,6 @@ func GetEdbDataTableName(source int) (tableName string) {
|
|
|
return
|
|
|
}
|
|
|
|
|
|
-func GetBaseIndexTableName(source int) (tableName string) {
|
|
|
- edbSource := EdbSourceIdMap[source]
|
|
|
- if edbSource != nil {
|
|
|
- tableName = edbSource.IndexTableName
|
|
|
- }
|
|
|
- return
|
|
|
-}
|
|
|
-
|
|
|
//计算指标->关联的基础指标表
|
|
|
//func GetEdbInfoCalculateTableName(source int) (tableName string) {
|
|
|
// switch source {
|
|
@@ -251,3 +243,11 @@ func GetEdbDataBaseByCodeAndDate(source int, edbCode string, startDate string) (
|
|
|
err = o.Raw(sql, edbCode, startDate).QueryRow(&count)
|
|
|
return
|
|
|
}
|
|
|
+
|
|
|
+func GetBaseIndexTableName(source int) (tableName string) {
|
|
|
+ edbSource := EdbSourceIdMap[source]
|
|
|
+ if edbSource != nil {
|
|
|
+ tableName = edbSource.IndexTableName
|
|
|
+ }
|
|
|
+ return
|
|
|
+}
|