xyxie 5 months ago
parent
commit
156afb1cb8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      models/data_manage/edb_info.go

+ 1 - 1
models/data_manage/edb_info.go

@@ -809,7 +809,7 @@ func GetEdbInfoAllCalculateByEdbInfoIdList(edbInfoIdList []int) (list []*EdbInfo
 	sql := ` SELECT DISTINCT b.* FROM edb_info_calculate_mapping AS a
 			 INNER JOIN edb_info AS b ON a.edb_info_id=b.edb_info_id
              WHERE a.from_edb_info_id in (` + utils.GetOrmInReplace(num) + `)
-			 ORDER BY a.edb_info_id ASC `
+			 ORDER BY b.edb_info_id ASC `
 	err = global.DmSQL["data"].Raw(sql, edbInfoIdList).Scan(&list).Error
 
 	return