@@ -235,14 +235,14 @@ func DelManualIndexByCodeList(codeList []string) (err error) {
return
}
-// GetEdbinfoBySecNameList
+// GetEdbinfoListBySecNameList
// @Description: 根据指标名称获取列表数据
// @author: Roc
// @datetime 2024-07-30 19:14:25
// @param secNameList []string
// @return item []*Edbinfo
// @return err error
-func GetEdbinfoBySecNameList(secNameList []string) (item []*Edbinfo, err error) {
+func GetEdbinfoListBySecNameList(secNameList []string) (item []*Edbinfo, err error) {
num := len(secNameList)
if num <= 0 {
@@ -321,7 +321,7 @@ func ImportManualData(path string, sysUser *system.Admin) (successCount, failCou
{
// 获取指标信息
- manualIndexList, tmpErr := models.GetEdbinfoBySecNameList(indexNameList)
+ manualIndexList, tmpErr := models.GetEdbinfoListBySecNameList(indexNameList)
if tmpErr != nil {
err = tmpErr
errMsg = "获取指标信息失败"