lihao 4 anni fa
parent
commit
9aa29c5c4c

+ 1 - 1
gx_api/GxPress/Repository/GxPress.Repository.Implement/RecordFolder/RecordFolderRepository.cs

@@ -37,7 +37,7 @@ namespace GxPress.Repository.Implement.RecordFolder
             var query = Q.NewQuery();
             query.Where(nameof(Entity.RecordFolder.RecordFolder.UserId), userId);
             query.Where(nameof(Entity.RecordFolder.RecordFolder.FolderType), folderType);
-            query.OrderByDesc(nameof(Entity.RecordFolder.RecordFolder.CreatedDate));
+            query.OrderByDesc(nameof(Entity.RecordFolder.RecordFolder.LastModifiedDate));
             var recordFolder = await _repository.GetAsync(query);
             //获取文件夹
             var middle = new Entity.Middle.Middle();