|
@@ -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
|
|
|
}
|
|
|
|
|
|
-
|
|
|
|
|
|
|
|
|
|
|
@@ -1076,4 +1076,4 @@ func CheckExistByEdbNameAndEdbInfoId(edbInfoType, edbInfoId int, edbName, lang s
|
|
|
|
|
|
|
|
|
return checkExistByEdbNameAndEdbInfoId(edbInfoType, edbInfoId, edbName, lang)
|
|
|
-}
|
|
|
+}
|