diff --git a/src/main/resources/com/hangang/HangangRiver/MeetingDetailMapper.xml b/src/main/resources/com/hangang/HangangRiver/MeetingDetailMapper.xml index c717ee7..9e50e2e 100644 --- a/src/main/resources/com/hangang/HangangRiver/MeetingDetailMapper.xml +++ b/src/main/resources/com/hangang/HangangRiver/MeetingDetailMapper.xml @@ -113,7 +113,7 @@ AND - creation_time BETWEEN (NOW() - INTERVAL 7 DAY) AND NOW() + creation_time BETWEEN (NOW() - INTERVAL 30 DAY) AND NOW() diff --git a/src/main/resources/com/hangang/HangangRiver/TimeLineMapper.xml b/src/main/resources/com/hangang/HangangRiver/TimeLineMapper.xml index 28c00c7..eed1d20 100644 --- a/src/main/resources/com/hangang/HangangRiver/TimeLineMapper.xml +++ b/src/main/resources/com/hangang/HangangRiver/TimeLineMapper.xml @@ -54,8 +54,6 @@ hanriver_meeting.user t2 ON t1.user_id = t2.user_id - WHERE - DATE(#{creation_time}) = DATE(t1.creation_time) ORDER BY t1.creation_time DESC LIMIT #{limit} OFFSET #{offset}