소스 검색

会务成本出访时间倒序

yuanrf 6 일 전
부모
커밋
49149e33a9
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      OASystem/OASystem.Api/Controllers/GroupsController.cs

+ 1 - 0
OASystem/OASystem.Api/Controllers/GroupsController.cs

@@ -26369,6 +26369,7 @@ ORDER BY
             .ToListAsync();
             var groupList = await _sqlSugar.Queryable<Grp_DelegationInfo>()
             .Where(x => x.IsDel == 0)
+            .OrderByDescending(x => x.VisitDate)
             .Select(x => new { x.Id, x.TeamName })
             .ToListAsync();
             var currenyList = await GeneralMethod.PostGroupTeamRateByDiIdAndCTableId(1, di.Id, 98);