李昊 4 rokov pred
rodič
commit
1b9c963080

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

@@ -498,7 +498,7 @@ namespace GxPress.Repository.Implement
                                     FROM
                                         ccpph_tede.tede_group_user
                                     WHERE
-                                        UserId = {userId})";
+                                        UserId = {userId}) ORDER BY a.CreatedDate DESC";
             var databaseType = StringUtils.ToEnum<DatabaseType>(_databaseTypeStr, DatabaseType.MySql);
             var database = new Database(databaseType, _connectionString);
             var connection = database.GetConnection();