[#67] 기타 카테고리에 해당하는 활동 생성 시 디폴트 이모지 설정 및 리팩토링 #68
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
#️⃣ 연관된 이슈
Resolves #67
📝 작업 내용
중요한 변경
@DynamicInsert
및@DynamicUpdate
를 추가했습니다.@DynamicUpdate
애노테이션은 각각 엔티티를 save할 때와 update할 때 null 값은 배제하고 insert 쿼리를 날리도록 합니다. 따라서 DDL 생성 시 null 값이 아닌 default 값이 제대로 들어가게 됩니다.사소한 변경
DELETE api/activities
요청 시 공통 ResponseDTO 형식에 맞게 리스폰스를 리턴하도록 수정했습니다!ActivityCreateResponseDto
를 재사용하기 위해 DTO 명을ActivityResponseDto
로 수정했습니다.@GeneratedValue
애너테이션이 있기 때문에 새로운 Activity 객체를 생성하기 전 nextActivity를 가져오는 작업을 생략했습니다!혹시 다른 의견이 있으시면 언제든지 말씀해주세효!!
스크린샷 (선택)
💬 리뷰 요구사항(선택)
✅ Check List