test #324
|
@ -63,11 +63,11 @@ class PointGrantLogQueryRepositoryImpl(
|
||||||
QGetPointRewardStatusResponse(
|
QGetPointRewardStatusResponse(
|
||||||
pointGrantLog.point.stringValue().concat(" 포인트"),
|
pointGrantLog.point.stringValue().concat(" 포인트"),
|
||||||
formattedDate,
|
formattedDate,
|
||||||
pointRewardPolicy.title
|
pointRewardPolicy.title.coalesce(pointGrantLog.couponName)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
.from(pointGrantLog)
|
.from(pointGrantLog)
|
||||||
.innerJoin(pointRewardPolicy).on(pointGrantLog.policyId.eq(pointRewardPolicy.id))
|
.leftJoin(pointRewardPolicy).on(pointGrantLog.policyId.eq(pointRewardPolicy.id))
|
||||||
.where(pointGrantLog.memberId.eq(memberId))
|
.where(pointGrantLog.memberId.eq(memberId))
|
||||||
.orderBy(pointGrantLog.id.desc())
|
.orderBy(pointGrantLog.id.desc())
|
||||||
.fetch()
|
.fetch()
|
||||||
|
|
Loading…
Reference in New Issue