- createWallet 에 premium 여부 전달, 무료는 종류별 countByType >= 한도면 400 - 한도 계산을 freeWalletLimit 한 곳에 모음(추후 포인트 상점의 영구 보너스 슬롯 최대 5까지 확장 지점) - 복원(BackupService)은 본인 데이터 복구라 한도 우회 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user