-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: 마이프로필 및 리크루트 데이터포맷 수정 #248
feat: 마이프로필 및 리크루트 데이터포맷 수정 #248
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
고생하셨습니다
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
수고했슴다
|
||
recruitPages = recruitRepository.findMemberJoinRecruitWithCursorAndPageable(memberId, getRecruitsReqDto.getCursor(), pageable); | ||
} else { | ||
recruitPages = recruitRepository.findRecruitByGetRecruitsReqDto(getRecruitsReqDto, pageable); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
recruitRepository.findMemberJoinRecruitWithCursorAndPageable(memberId, getRecruitsReqDto.getCursor(), pageable)
에서는 커서를 꺼내서 파라미터를 넣어주는 여기서는 그렇게 안하네여?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
마이프로필쪽 api라 아직 확정되진 않았습니다. 다음 pr때 프론트랑 연동하면서 작업방향 정해지면 수정될 수 있습니다.
|
||
private BooleanExpression recruitIdLtThanCursor(Long cursor) { | ||
return ((cursor != null) && (cursor != -1)) ? recruit.id.lt(cursor) : null; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if (cursor == null) return null;
if (cursor == -1) return null;
return recruit.id.lt(cursor);
가 낫지 않을까요
Issues
구분
주요 변경점
스크린샷
기타