浏览代码

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

xyxie 9 月之前
父节点
当前提交
74df9fa11f
共有 1 个文件被更改,包括 9 次插入0 次删除
  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)
 	}