Browse Source

修改计算指标mapping表

hongze 3 years ago
parent
commit
d2f96f6956
1 changed files with 1 additions and 1 deletions
  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