-
Notifications
You must be signed in to change notification settings - Fork 0
Feat/#41 일반 유저 홈화면 조회 기능 구현 #43
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
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
0bbcf06
refactor: 학생회 게시글 목록 조회 기능을 학생회 타입별 제휴/행사 목록 조회 기능으로 수정(학생회 타입, 게시글카테…
1winhyun fd3ba18
refactor: 72시간 이내 행사 조회 기능을 학생회 타입별 필터링 되도록 수정
1winhyun 4043201
refactor: 학생회 타입별 게시글 목록 조회 로직 행사면 행사날, 제휴면 끝나는 날이 가까운 순서로 정렬되게 수정
1winhyun a938340
refactor: 학생회 타입별 게시글 목록 조회 아직 지나지 않은 제휴나 행사만 조회되도록 수정
1winhyun 74ba3b0
feat: 학생회 타입별 이용 가능한 제휴 목록 조회 기능 구현(일반 유저 전용, 홈 화면)
1winhyun fa7d37f
feat: 카카오 이름 외 서비스 내 닉네임 설정이 가능하도록 컬럼 및 로직 추가 (닉네임 변경 구현)
1winhyun 3fce97f
feat: 사용자 정보 조회 기능 구현(홈 화면에 유저 정보 노출을 위함)
1winhyun 4d8b8f5
refactor: CouncilType 필터링 수정
1winhyun 42d2727
refactor: UserWithdrawRequest 필드명 수정
1winhyun 23b9d9c
refactor: User 내 컬럼명 하이픈 수정
1winhyun d8ee8e3
refactor: getUserInfo 삭제된 사용자 필터링
1winhyun 0161c88
refactor: 닉네임 변경 예외처리 관련 수정
1winhyun 1dee857
refactor: dto 필드 명명법 camelCase 수정
1winhyun 5d2466b
refactor: conflict(충돌) 해결
1winhyun 36b30ba
refactor: 유저전용 학생회 게시글 조회 service,controller 클래스명 변경 및 앤드포인트 변경, 트랜잭션…
1winhyun 49e67a7
refactor: 사용하지 않는 의존성 제거 및 타임존 추가
1winhyun 843d1d0
refactor: findActivePartnershipForUser 사용자 조회 메서드 수정
1winhyun 887371a
refactor: 학생회 제휴/행사 목록 조회 기능 학생회 타입 필터링 삭제 및 로그인한 본인이 작성한 글만 조회되도록 수정
1winhyun ef6943d
refactor: 학생회 72시간 이내 행사 조회 기능 학생회 타입 필터링 삭제 및 로그인한 본인이 작성한 글만 조회되도록 수정
1winhyun File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
.../domain/councilpost/application/dto/response/GetActivePartnershipListForUserResponse.java
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| package com.campus.campus.domain.councilpost.application.dto.response; | ||
|
|
||
| import io.swagger.v3.oas.annotations.media.Schema; | ||
|
|
||
| public record GetActivePartnershipListForUserResponse( | ||
| @Schema(description = "제휴글 id", example = "1") | ||
| Long postId, | ||
|
|
||
| @Schema(description = "제휴글 이름", example = "투썸 제휴") | ||
| String title, | ||
|
|
||
| @Schema(description = "제휴 장소", example = "투썸 플레이스") | ||
| String place, | ||
|
|
||
| @Schema(description = "썸네일 image url", example = "https://www.example.com.png") | ||
| String thumbnailImageUrl | ||
| ) { | ||
| } |
32 changes: 32 additions & 0 deletions
32
...pus/campus/domain/councilpost/application/dto/response/GetPostListForCouncilResponse.java
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| package com.campus.campus.domain.councilpost.application.dto.response; | ||
|
|
||
| import java.time.LocalDateTime; | ||
|
|
||
| import com.campus.campus.domain.councilpost.domain.entity.PostCategory; | ||
| import com.campus.campus.domain.councilpost.domain.entity.ThumbnailIcon; | ||
|
|
||
| import io.swagger.v3.oas.annotations.media.Schema; | ||
|
|
||
| public record GetPostListForCouncilResponse( | ||
| @Schema(description = "게시글 id", example = "1") | ||
| Long postId, | ||
|
|
||
| @Schema(description = "게시글 카테고리", example = "EVENT") | ||
| PostCategory category, | ||
|
|
||
| @Schema(description = "게시글 이름", example = "중간고사 간식생사") | ||
| String title, | ||
|
|
||
| @Schema(description = "장소", example = "310관 1층") | ||
| String place, | ||
|
|
||
| @Schema(description = "시간(끝나는 시간 or 행사날짜", example = "2026-01-10T18:00:00") | ||
| LocalDateTime dateTime, | ||
|
|
||
| @Schema(description = "썸네일 image url", example = "https://www.example.com.png") | ||
| String thumbnailImageUrl, | ||
|
|
||
| @Schema(description = "썸네일 아이콘", example = "FOOD") | ||
| ThumbnailIcon thumbnailIcon | ||
| ) { | ||
| } |
29 changes: 29 additions & 0 deletions
29
...s/domain/councilpost/application/dto/response/GetUpcomingEventListForCouncilResponse.java
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| package com.campus.campus.domain.councilpost.application.dto.response; | ||
|
|
||
| import java.time.LocalDateTime; | ||
|
|
||
| import com.campus.campus.domain.councilpost.domain.entity.PostCategory; | ||
| import com.campus.campus.domain.councilpost.domain.entity.ThumbnailIcon; | ||
|
|
||
| import io.swagger.v3.oas.annotations.media.Schema; | ||
|
|
||
| public record GetUpcomingEventListForCouncilResponse( | ||
| @Schema(description = "게시글 id", example = "1") | ||
| Long postId, | ||
|
|
||
| @Schema(description = "게시글 카테고리", example = "EVENT") | ||
| PostCategory category, | ||
|
|
||
| @Schema(description = "게시글 이름", example = "중간고사 간식생사") | ||
| String title, | ||
|
|
||
| @Schema(description = "장소", example = "310관 1층") | ||
| String place, | ||
|
|
||
| @Schema(description = "시간(끝나는 시간 or 행사날짜", example = "2026-01-10T18:00:00") | ||
| LocalDateTime dateTime, | ||
|
|
||
| @Schema(description = "썸네일 아이콘", example = "FOOD") | ||
| ThumbnailIcon thumbnailIcon | ||
| ) { | ||
| } |
This file contains hidden or 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 hidden or 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 hidden or 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.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
타임존 불일치:
LocalDateTime.now()대신 KST 사용 권장StudentCouncilPostForUserService에서는LocalDateTime.now(KST)를 사용하지만, 이 서비스에서는 시스템 기본 타임존을 사용합니다. 배포 환경에 따라 시간 필터링 결과가 달라질 수 있습니다.🔧 제안하는 수정 사항
Line 136도 동일하게 수정 필요합니다.
📝 Committable suggestion
🤖 Prompt for AI Agents