|
@@ -113,6 +113,7 @@ func AddPredictEdbInfo(sourceEdbInfoId, classifyId int, edbName, dataDateType st
|
|
|
EdbNameEn: edbName,
|
|
|
UnitEn: sourceEdbInfo.UnitEn,
|
|
|
DataDateType: dataDateType,
|
|
|
+ Sort: models.GetEdbMaxSortByClassifyId(classifyId),
|
|
|
}
|
|
|
|
|
|
// 关联关系表
|
|
@@ -978,7 +979,6 @@ func RefreshPredictEdbInfo(edbInfoId int) (edbInfo *models.EdbInfo, err error, e
|
|
|
return
|
|
|
}
|
|
|
|
|
|
-
|
|
|
// checkExistByEdbName
|
|
|
// @Description: 根据指标名称校验该指标是否存在库中
|
|
|
// @author: Roc
|
|
@@ -1076,4 +1076,4 @@ func CheckExistByEdbNameAndEdbInfoId(edbInfoType, edbInfoId int, edbName, lang s
|
|
|
|
|
|
//指标已经入库的情况
|
|
|
return checkExistByEdbNameAndEdbInfoId(edbInfoType, edbInfoId, edbName, lang)
|
|
|
-}
|
|
|
+}
|