lihao il y a 4 ans
Parent
commit
a2048bbad5

+ 1 - 2
gx_api/GxPress/Repository/GxPress.Repository.Implement/WorkMeeting/MeetingRepository.cs

@@ -53,8 +53,7 @@ namespace GxPress.Repository.Implement.WorkMeeting
             var query = new SqlKata.Query();
             var meetingSummaryTodos = await meetingSummaryTodoRepository.GetAllAsync(Q.Where(nameof(Entity.WorkMeeting.MeetingSummaryTodo.UserId), userId).Where(nameof(Entity.WorkMeeting.MeetingSummaryTodo.TypeId), 1));
             query.Where(q => q.WhereIn(nameof(Meeting.Id), meetingSummaryTodos.Select(n => n.MeetingSummaryId)));
-            query.Where(nameof(Meeting.EndDateTime), ">", DateTime.Now)
-             .OrderByDesc(nameof(Meeting.CreatedDate));
+            query.Where(nameof(Meeting.EndDateTime), ">", DateTime.Now);
             if (!string.IsNullOrEmpty(keyword))
             {
                 query.Where(q => q