Skip to content

Commit 7e8b20c

Browse files
committed
bug: 비로그인 유저 매장별 환급쿠폰 조회시 중복행 제거
1 parent 0ae8cb6 commit 7e8b20c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/com/appcenter/marketplace/domain/payback/repository/PaybackRepositoryCustomImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public List<PaybackRes> findCouponsForAdminByMarketId(Long marketId, Long coupon
4545
public List<PaybackRes> findCouponsForMembersByMarketId(Long marketId, Long memberId, Long couponId, Integer size) {
4646
QMemberPayback paybackCoupon = new QMemberPayback("paybackCoupon");
4747

48-
return queryFactory.select(new QPaybackRes(
48+
return queryFactory.selectDistinct(new QPaybackRes(
4949
payback.id,
5050
payback.name,
5151
payback.description,

0 commit comments

Comments
 (0)