Browse Source

研选多标的排序

xingzai 3 years ago
parent
commit
826766c3a1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      models/industrial_management.go

+ 1 - 1
models/industrial_management.go

@@ -337,7 +337,7 @@ WHERE
 GROUP BY
 	s.industrial_subject_id 
 ORDER BY
-	sg.create_time DESC 
+	sg.id ASC 
 	LIMIT 4`
 	_, err = o.Raw(sql, articleId).QueryRows(&items)
 	return