Skip to content
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

#110 [feat] offer 가 있으면 isSend true 기능 구현 #112

Merged
merged 2 commits into from
Jan 12, 2024
Merged

Conversation

pkl0912
Copy link
Contributor

@pkl0912 pkl0912 commented Jan 12, 2024

관련 이슈번호

해결하는 데 얼마나 걸렸나요? (예상 작업 시간 / 실제 작업 시간)

  • 1~2h

해결하려는 문제가 무엇인가요?

  • 모델 지원서 상세보기 기능에서 해당 지원서에 내가 (designer) 제안서를 보냈으면 isSend true

어떻게 해결했나요?

  • 해당 지원서의 applicationId, 로그인한 사용자(designer) 의 userId로 offer를 조회해서
  • 있으면 isSend가 true

@pkl0912 pkl0912 added the feat label Jan 12, 2024
@pkl0912 pkl0912 requested review from hellozo0 and KWY0218 January 12, 2024 11:51
@pkl0912 pkl0912 self-assigned this Jan 12, 2024
Copy link
Member

@hellozo0 hellozo0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

수고하셨습니다!!!

@@ -79,6 +80,11 @@ private Page<HairModelApplication> findApplications(int page, int size){
return applicationPage;
}

private Boolean getIsSend(Long applicationId, Long userId){
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

p3:
함수명이 IsSend 보다는 상태값이라는 의미까지 더 넣어서 getSendStatus나 getIsSendStatus 면 더 이해하기 쉬울것 같아요!

Copy link
Member

@KWY0218 KWY0218 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

작업하시느라 고생하셨습니다!
좋습니다 ~ ! 👍

@pkl0912 pkl0912 merged commit 69424ed into develop Jan 12, 2024
1 check passed
@pkl0912 pkl0912 deleted the feat/#110 branch January 12, 2024 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[feat] HairModelApplication isSend 반환 로직 수정
3 participants