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

Refactor/#67 - ipo domain 로직 개선 #77

Merged
merged 18 commits into from
Dec 28, 2022
Merged

Refactor/#67 - ipo domain 로직 개선 #77

merged 18 commits into from
Dec 28, 2022

Conversation

chhs2131
Copy link
Owner

@chhs2131 chhs2131 commented Dec 25, 2022

closes #67

…페이징 조건값을 전달하도록 기존 로직을 대체
… 에러에 대한 처리 진행

- IllegalArgumentException 발생가능
- 해당 에러를 IG000(BadRequest)
CustomException으로 변환하여 사용자에게 노출
명절 및 최근과 같은 공모가 잘 없는 경우를 대비
중복기능제거: 해당기능은 이미 {ipo_index}/comment 에 존재함
- getter 추가
- 반환할 필요없는 값(haveTitle)에 JsonIgnore 추가
…로 분리

comment관련 기능들을 전부 commentService layer로 분리
…었던 문제 수정

- 신규등록일에는 '신규 등록 되었습니다.' 라는 title 문구만 표시하도록 수정
- 더 이상 targetDate를 sql에서 사용하지 않음 (startDate,endDate로 대체)

Closes #78
@chhs2131 chhs2131 merged commit f4ebd43 into develop Dec 28, 2022
@chhs2131 chhs2131 deleted the refactor/#67 branch December 28, 2022 07:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[REFACTOR] IPO Domain 로직 개선 (Service Layer)
1 participant