浏览代码

修改计算指标mapping表

hongze 3 年之前
父节点
当前提交
d2f96f6956
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      models/data_manage/edb_info_calculate_mapping.go

+ 1 - 1
models/data_manage/edb_info_calculate_mapping.go

@@ -65,7 +65,7 @@ func FixEdbInfoCalculateMapping() {
 			calculateMappingItem := new(EdbInfoCalculateMapping)
 			calculateMappingItem.CreateTime = time.Now()
 			calculateMappingItem.ModifyTime = time.Now()
-			calculateMappingItem.Sort = 1
+			calculateMappingItem.Sort = cv.Sort
 			calculateMappingItem.EdbCode = v.EdbCode
 			calculateMappingItem.EdbInfoId = v.EdbInfoId
 			calculateMappingItem.FromEdbInfoId = cv.FromEdbInfoId