Compare commits

..

No commits in common. "d35a3d1a8c5742e6722c39191bedbe1c3172f058" and "60c4e0b528e14258935976772f346cbfe1100060" have entirely different histories.

3 changed files with 0 additions and 7 deletions

View File

@ -217,14 +217,9 @@ class MemberService(
.format(dateTimeFormatter)
val chargeCount = chargeRepository.getChargeCount(memberId = member.id!!)
val point = memberPointRepository.findByMemberIdAndExpiresAtAfterOrderByExpiresAtAsc(
memberId = member.id!!,
expiresAt = LocalDateTime.now()
).sumOf { it.point }
return GetMemberInfoResponse(
can = member.getChargeCan(container) + member.getRewardCan(container),
point = point,
isAuth = member.auth != null,
gender = gender,
signupDate = signUpDate,

View File

@ -4,7 +4,6 @@ import kr.co.vividnext.sodalive.member.MemberRole
data class GetMemberInfoResponse(
val can: Int,
val point: Int,
val isAuth: Boolean,
val gender: String?,
val signupDate: String,

View File

@ -24,7 +24,6 @@ class MemberPointQueryRepositoryImpl(
memberPoint.memberId.eq(memberId),
memberPoint.expiresAt.goe(expiresAt)
)
.orderBy(memberPoint.expiresAt.asc())
.fetch()
}
}