Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -34,4 +34,13 @@
|
||||
LIMIT #{limit}
|
||||
</select>
|
||||
|
||||
<select id="findHistoryByMonth" resultType="com.sb.web.point.PointHistoryResponse">
|
||||
SELECT amount, reason, created_at
|
||||
FROM point_history
|
||||
WHERE member_id = #{memberId}
|
||||
AND YEAR(created_at) = #{year}
|
||||
AND MONTH(created_at) = #{month}
|
||||
ORDER BY id DESC
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user