|
@@ -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();
|