feat(wallet): 무료 회원 계좌 종류별 2개 한도 (유료 무제한)
Deploy / deploy (push) Failing after 11m4s

- createWallet 에 premium 여부 전달, 무료는 종류별 countByType >= 한도면 400
- 한도 계산을 freeWalletLimit 한 곳에 모음(추후 포인트 상점의 영구 보너스 슬롯 최대 5까지 확장 지점)
- 복원(BackupService)은 본인 데이터 복구라 한도 우회

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
sb
2026-07-06 01:40:25 +09:00
parent cc36f9e939
commit 29b14a5464
5 changed files with 32 additions and 3 deletions
@@ -97,4 +97,8 @@
SELECT MAX(sort_order) FROM wallet WHERE member_id = #{memberId} AND type = #{type}
</select>
<select id="countByType" resultType="int">
SELECT COUNT(*) FROM wallet WHERE member_id = #{memberId} AND type = #{type}
</select>
</mapper>