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

[FEAT] 일정 리스트 조회 기능 #214

Merged
merged 14 commits into from
Dec 30, 2023
Merged

[FEAT] 일정 리스트 조회 기능 #214

merged 14 commits into from
Dec 30, 2023

Conversation

dragontaek-lee
Copy link
Member

Related Issue 🚀

Work Description ✏️

  • 캘린더를 위한 일정을 조회합니다
  • 일정의 경우 요청한 시작-끝 의 모든 일정을 내려줍니다
  • 따라서 일정이 없으면 빈값으로 되어있습니다.

response (api/v1/app/schedules?start=2023-11-30T00:00:00&end=2023-12-31T00:00:00 [GET])

{
    "success": true,
    "message": "일정 리스트 조회 성공",
    "data": {
        "calendar": {
            "2023-12-31T00:00": [],
            "2023-11-30T00:00": [],
            "2023-12-30T00:00": [],
            "2023-12-29T00:00": [],
            "2023-12-28T00:00": [],
            "2023-12-27T00:00": [],
            "2023-12-26T00:00": [],
            "2023-12-25T00:00": [],
            "2023-12-24T00:00": [],
            "2023-12-23T00:00": [
                {
                    "scheduleId": 1,
                    "startDate": "2023-12-23T09:00",
                    "endDate": "2023-12-23T12:00",
                    "attribute": "SEMINAR",
                    "title": "11차 세미나"
                },
                {
                    "scheduleId": 2,
                    "startDate": "2023-12-23T18:00:40",
                    "endDate": "2023-12-23T22:00",
                    "attribute": "SEMINAR",
                    "title": "11차 세미나 뒷풀이"
                }
            ],
            "2023-12-22T00:00": [],
            "2023-12-21T00:00": [],
            "2023-12-20T00:00": [],
            "2023-12-19T00:00": [],
            "2023-12-18T00:00": [],
            "2023-12-17T00:00": [],
            "2023-12-16T00:00": [
                {
                    "scheduleId": 3,
                    "startDate": "2023-12-23T09:00",
                    "endDate": "2023-12-23T22:00",
                    "attribute": "SEMINAR",
                    "title": "10차 세미나"
                },
                {
                    "scheduleId": 4,
                    "startDate": "2023-12-23T18:00:40",
                    "endDate": "2023-12-23T22:00",
                    "attribute": "SEMINAR",
                    "title": "10차 세미나 뒷풀이"
                }
            ],
            "2023-12-15T00:00": [],
            "2023-12-14T00:00": [],
            "2023-12-13T00:00": [],
            "2023-12-12T00:00": [],
            "2023-12-11T00:00": [],
            "2023-12-10T00:00": [],
            "2023-12-09T00:00": [
                {
                    "scheduleId": 5,
                    "startDate": "2023-12-23T09:00",
                    "endDate": "2023-12-23T22:00",
                    "attribute": "SEMINAR",
                    "title": "9차 세미나"
                }
            ],
            "2023-12-08T00:00": [],
            "2023-12-07T00:00": [],
            "2023-12-06T00:00": [],
            "2023-12-05T00:00": [],
            "2023-12-04T00:00": [],
            "2023-12-03T00:00": [],
            "2023-12-02T00:00": [],
            "2023-12-01T00:00": []
        }
    }
}
  • DTO가 배열의 형태를 띄어야할 것 같기는 합니다. 클라이언트에게 한번 물어보도록 하겠습니다.
  • 클라이언트 개발의 편의성을 위해 각 날짜의 요일(토,일) 필드도 넣어달라는 요구사항이 있었지만, 현재는 추가되지 않은 상태입니다.

PR Point 📸

@dragontaek-lee dragontaek-lee added the feat 기능 구현 label Dec 23, 2023
@dragontaek-lee dragontaek-lee self-assigned this Dec 23, 2023
Copy link
Collaborator

@thguss thguss left a comment

Choose a reason for hiding this comment

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

초기 스타트 잘 끊어주셔서 감사합니다 :)
응답 데이터 내 날짜 범위와 관련하여 클라와의 논의가 완료되면 바로 머지하도록 하겠습니다!

@thguss thguss added this pull request to the merge queue Dec 30, 2023
Merged via the queue into develop with commit 1580274 Dec 30, 2023
1 check passed
@thguss thguss deleted the yongtaek/#213 branch December 30, 2023 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat 기능 구현 size/L
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEAT] 캘린더 피쳐 작업
2 participants