|
@@ -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
|