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

[feature/160-desserts-patchDessert] 상품 수정 API에서 새로운 옵션 추가 가능하도록 수정 #203

Merged
merged 1 commit into from
May 21, 2023

Conversation

JoongHyun-Kim
Copy link
Member

📚 이슈 번호

#160

💬 기타 사항

  • chat 쪽 오류 잡은 후에 다시 코드 살펴볼 예정입니다..

@JoongHyun-Kim JoongHyun-Kim added 🍰 feature 새로운 기능 추가 🍊 sprint #3 3차 Sprint labels May 16, 2023
@JoongHyun-Kim JoongHyun-Kim self-assigned this May 16, 2023
Copy link
Member

@chaerlo127 chaerlo127 left a comment

Choose a reason for hiding this comment

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

어려운 로직이었을텐데, 수고많아써용~!~!!

Copy link
Member

@psyeon1120 psyeon1120 left a comment

Choose a reason for hiding this comment

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

👍

@chaerlo127 chaerlo127 added this to the 3차 Sprint milestone May 17, 2023
Comment on lines +223 to +226
if (optionDTO.getOptionIdx() == null) { // 새로운 option인 경우
PostDessertReq.Option newOption = new PostDessertReq.Option(optionDTO.getOptionDescription(), optionDTO.getOptionPrice());
saveOption(newOption, dessert);
} else { // 이미 존재하는 option인 경우
Copy link
Member

Choose a reason for hiding this comment

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

주석으로 설명 달아줘서 로직 알아보기 넘 좋네유 ,,🫶 수고해써 !!!

@JoongHyun-Kim JoongHyun-Kim merged commit ff93d5c into develop May 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🍰 feature 새로운 기능 추가 🍊 sprint #3 3차 Sprint
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants