Skip to content

Commit

Permalink
hotfix: String to Long Error 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
hongdosan committed Nov 30, 2023
1 parent a806cbd commit 90b33cd
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,11 @@ public void addIfAbsentQueue(String couponName, Long memberId, double registerTi
}

public Set<Long> rangeQueue(String couponName, long start, long end) {

return zSetRedisRepository
.range(requireNonNull(couponName), start, end)
.stream()
.map(Long.class::cast)
.map(memberId -> Long.parseLong(String.valueOf(memberId)))
.collect(Collectors.toSet());
}

Expand Down

0 comments on commit 90b33cd

Please sign in to comment.