lihao 4 роки тому
батько
коміт
39212c0280

+ 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  a.IsTop DESC ,a.LastModifiedDate DESC,a.Sort DESC
+                            ORDER by a.IsTop DESC ,a.LastModifiedDate DESC,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);