lihao 4 anni fa
parent
commit
e475cc65a5

+ 1 - 1
gx_api/GxPress/Repository/GxPress.Repository.Implement/GroupRepository.cs

@@ -224,7 +224,7 @@ namespace GxPress.Repository.Implement
                                     AND a.FolderType = {groupConst}
                                     AND a.IsDelete = 0
                                     AND (b.id > 0 OR a.AttributeValue = 2)
-                            ORDER BY a.AttributeValue DESC , a.IsTop DESC , a.LastModifiedDate DESC
+                            ORDER  a.IsTop DESC , a.LastModifiedDate,a.Sort DESC
                             LIMIT {(request.Page - 1) * request.PerPage} , {request.PerPage}";
             var databaseType = StringUtils.ToEnum<DatabaseType>(_databaseTypeStr, DatabaseType.MySql);
             var database = new Database(databaseType, _connectionString);