lihao 4 年之前
父節點
當前提交
9ef7c03a40
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      gx_api/GxPress/Repository/GxPress.Repository.Implement/GroupRepository.cs

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

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