-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[refactor] 회고 조회 API 통합과 관련된 로직들 수정 (#582)
* [refactor] 회고탭 API 응답에 retrospectId 추가 * [refactor] 일반 회고 조회, 검색 시 회고 조회 API 통합 * [refactor] 회고수정, 삭제 API 수정 * [refactor] 문서 변경, 관련 수정할 지점 수정 * [refactor] readOnly True 제거
- Loading branch information
1 parent
04eee76
commit 028f8c7
Showing
23 changed files
with
129 additions
and
317 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 2 additions & 12 deletions
14
src/main/java/com/nanal/backend/domain/retrospect/dto/req/ReqGetRetroDto.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,13 @@ | ||
package com.nanal.backend.domain.retrospect.dto.req; | ||
|
||
import lombok.Data; | ||
import org.springframework.format.annotation.DateTimeFormat; | ||
|
||
import javax.validation.constraints.NotBlank; | ||
import javax.validation.constraints.NotNull; | ||
import java.time.LocalDateTime; | ||
|
||
@Data | ||
public class ReqGetRetroDto { | ||
|
||
@NotNull(message = "fromDate 값이 올바르지 않습니다.") | ||
@DateTimeFormat(iso = DateTimeFormat.ISO.DATE_TIME) | ||
private LocalDateTime fromDate; | ||
@NotNull(message = "retrospectId은 비어있을 수 없습니다.") | ||
private Long retrospectId; | ||
|
||
@NotNull(message = "toDate 값이 올바르지 않습니다.") | ||
@DateTimeFormat(iso = DateTimeFormat.ISO.DATE_TIME) | ||
private LocalDateTime toDate; | ||
|
||
@NotNull(message = "week 은 비어있을 수 없습니다.") | ||
private Integer week; | ||
} |
13 changes: 0 additions & 13 deletions
13
src/main/java/com/nanal/backend/domain/retrospect/dto/req/ReqSearchRetroDto.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
45 changes: 0 additions & 45 deletions
45
src/main/java/com/nanal/backend/domain/retrospect/dto/resp/RespGetSearchRetroDto.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.