Skip to content

Commit

Permalink
#111 시연을 위해 쿼리문 수정
Browse files Browse the repository at this point in the history
* 타임라인과 게시글의 기간 제한을 해제
  • Loading branch information
TaerryKim committed Sep 28, 2018
1 parent b53e6d7 commit 9b1cfef
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
</if>
<if test="startTime == null or startTime == ''">
AND
creation_time BETWEEN (NOW() - INTERVAL 7 DAY) AND NOW()
creation_time BETWEEN (NOW() - INTERVAL 30 DAY) AND NOW()
</if>
</select>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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}
</select>
Expand Down

0 comments on commit 9b1cfef

Please sign in to comment.