Skip to content

Commit 53288da

Browse files
committed
fix: 문의의 답변 여부가 항상 true로 나오던 문제 수정
1 parent 0d4ac21 commit 53288da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)