Browse Source

Merge branch 'feature/gn_edb' into dm

hsun 6 months ago
parent
commit
cc40f5b6c4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      models/data_manage/edb_collect.go

+ 1 - 1
models/data_manage/edb_collect.go

@@ -229,7 +229,7 @@ MAX(b."modify_time") "modify_time"
  FROM edb_collect AS a JOIN edb_info AS b ON a.edb_info_id = b.edb_info_id
 	  WHERE 1=1 %s
 	  GROUP BY b.edb_info_id
-ORDER BY a.sort ASC, collect_time DESC LIMIT ?,?`, condition)
+ORDER BY collect_time DESC LIMIT ?,?`, condition)
 	pars = append(pars, startSize, pageSize)
 	err = global.DmSQL["data"].Raw(sql, pars...).Scan(&list).Error
 	return