Browse Source

会务成本出访时间倒序

yuanrf 2 days ago
parent
commit
49149e33a9
1 changed files with 1 additions and 0 deletions
  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);