Skip to content

Commit 248a8fb

Browse files
authored
Merge pull request #45 from prgrms-web-devcourse-final-project/feature/mypage
Feature/mypage
2 parents 0d4ac21 + 29d309c commit 248a8fb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/java/com/example/log4u/domain/diary/repository/CustomDiaryRepositoryImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ public Slice<Diary> getLikeDiarySliceByUserId(
202202
Long cursorId,
203203
Pageable pageable) {
204204
// 조건 생성
205-
BooleanExpression condition = createSearchCondition(null, visibilities, userId);
205+
BooleanExpression condition = createSearchCondition(null, visibilities, null);
206206

207207
// limit + 1로 다음 페이지 존재 여부 확인
208208
List<Diary> content = queryFactory

src/main/java/com/example/log4u/domain/supports/repository/SupportQuerydsl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public Page<SupportOverviewGetResponseDto> getSupportOverviewGetResponseDtoPage(
4343
support.supportType,
4444
support.title,
4545
support.createdAt,
46-
support.updatedAt.isNotNull() // answered 필드는 answeredAt이 null 이 아니면 true
46+
support.answerContent.isNotNull() // answered 필드는 answeredAt이 null 이 아니면 true
4747
))
4848
.where(builder)
4949
.orderBy(support.createdAt.desc())

0 commit comments

Comments
 (0)