diff --git a/src/main/java/com/whyranoid/walkie/repository/querydsl/PostRepositoryImpl.java b/src/main/java/com/whyranoid/walkie/repository/querydsl/PostRepositoryImpl.java index 16a4c84..b9733fa 100644 --- a/src/main/java/com/whyranoid/walkie/repository/querydsl/PostRepositoryImpl.java +++ b/src/main/java/com/whyranoid/walkie/repository/querydsl/PostRepositoryImpl.java @@ -60,6 +60,7 @@ public List findMyPosts(Long viewerId, Integer pagingSize, Integer pagi public Long findPostId(String photo, String date) { return queryFactory .select(post.postId) + .from(post) .where(post.photo.eq(photo).and(post.date.eq(date))) .fetchOne(); }