Browse Source

Merge branch 'feature/eta1.9.1_edb_refresh' into debug

xyxie 9 months ago
parent
commit
74df9fa11f
1 changed files with 9 additions and 0 deletions
  1. 9 0
      controllers/data_manage/edb_info_relation.go

+ 9 - 0
controllers/data_manage/edb_info_relation.go

@@ -154,6 +154,15 @@ func (c *EdbInfoRelationController) RelationEdbListDetail() {
 			case utils.CHART_SOURCE_FUTURE_GOOD, utils.CHART_SOURCE_FUTURE_GOOD_PROFIT:
 				tmp.ReferObjectTypeName = "商品价格曲线"
 			}
+		case utils.EDB_RELATION_TABLE:
+			switch v.ReferObjectSubType {
+			case utils.TIME_TABLE:
+				tmp.ReferObjectTypeName = "时间序列表格"
+			case utils.MIXED_TABLE:
+				tmp.ReferObjectTypeName = "混合表格"
+			case utils.BALANCE_TABLE:
+				tmp.ReferObjectTypeName = "平衡表"
+			}
 		}
 		list = append(list, tmp)
 	}