李昊 5 年 前
コミット
8ddff9d2f3
共有1 個のファイルを変更した2 個の追加2 個の削除を含む
  1. 2 2
      gx_api/GxPress/Repository/GxPress.Repository.Implement/SystemLabel/SystemLabelRepository.cs

+ 2 - 2
gx_api/GxPress/Repository/GxPress.Repository.Implement/SystemLabel/SystemLabelRepository.cs

@@ -84,8 +84,8 @@ namespace GxPress.Repository.Implement.SystemLabel
         }
         public async Task<IEnumerable<Entity.SystemLabel.SystemLabel>> GetAllAsync(List<int> ids)
         {
-            return await _repository.GetAllAsync(Q.WhereIn(nameof(Entity.SystemLabel.SystemLabel.Id), ids));
+            return await _repository.GetAllAsync(Q.WhereIn(nameof(Entity.SystemLabel.SystemLabel.Id), ids).OrderByDesc(nameof(Entity.SystemLabel.SystemLabel.Sort)));
         }
-     
+
     }
 }