-
Notifications
You must be signed in to change notification settings - Fork 0
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
[화살] 화살 연관 로직 수정(#68) #81
Merged
Merged
Changes from all commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
a5b0c81
feat: lombok 활용하도록 변경(#68)
Minjae-An babf288
feat: gender boolean 값 string 변환 메서드 추가(#68)
Minjae-An d615581
feat: 사용자 엔티티 수정(#68)
Minjae-An 65aac96
feat: 사용자 연관 예외 추가(#68)
Minjae-An 69bdf2f
feat: 사용자 엔티티 boolean 타입 성별 getter 사용 위치 수정(#68)
Minjae-An a57eb4e
feat: 휴면 상태 사용자에게 화살 보냄 예외 정의(#68)
Minjae-An 1c8cda8
feat: 불필요한 화살 보내기 요청 DTO 삭제(#68)
Minjae-An c90bcf9
feat: 화살 보내기 비즈니스 로직 수정(#68)
Minjae-An 3212b55
feat: 화살 보내기 API 수정(#68)
Minjae-An 9729fbb
feat: 보내는 사용자, 받는 사용자 필드명 수정(#68)
Minjae-An 138f5a3
feat: 화살 내역 엔티티 필드명 변경에 따른 사용 위치 수정(#68)
Minjae-An a4a6faa
refactor: 패키지 경로 이동(#68)
Minjae-An b5b4a04
feat: 최종 접속 일시 갱신 메서드 파라미터명 변경(#68)
Minjae-An b1d29b3
feat: 최종 접속 일시 갱신 로직 추가(#68)
Minjae-An 3c34858
feat: 인증되지 않은 사용자 예외 추가(#68)
Minjae-An aaf7787
feat: 최종 접속 일시 갱신 인터셉터 추가(#68)
Minjae-An 560f40b
feat: 최종 접속 일시 갱신 인터셉터 등록 로직 추가(#68)
Minjae-An 125b0cd
feat: 출석 체크 비즈니스 로직 수정(#68)
Minjae-An d8bb5e0
feat: 사용자 화살 개수 응답 DTO 사용 위치 수정(#68)
Minjae-An f66740d
feat: 메서드 파라미터명 수정(#68)
Minjae-An ff3b6af
feat: 출석 체크 로직, 출석 체크 날짜 파라미터 추가(#68)
Minjae-An c136b40
feat: 출석 체크 API 로직, 출석 체크 날짜 생성 코드 추가(#68)
Minjae-An 12ac0d2
feat: 화살 충전 로직, 충전일 파라미터 추가(#68)
Minjae-An 25756fd
feat: 화살 충전 API, 충전일 생성 코드 추가(#68)
Minjae-An e290c4a
Merge branch 'dev' into feat/#68-daily-check-and-send-arrow
Minjae-An b47c903
feat: 최종 접속 일시 업데이트 로직, 간단한 형태로 수정(#68)
Minjae-An c3ed280
feat: 화살 내역 타입 추가(#68)
Minjae-An aa3f868
feat: 화살 내역 타입 필드 추가(#68)
Minjae-An 19f3216
feat: 광고 시청 가능 여부 확인 로직, 화살 내역 타입 비교 조건 추가(#68)
Minjae-An 7719b79
feat: 화살 연관 로직들 수정(#68)
Minjae-An 4ab3239
Merge branch 'dev' into feat/#68-daily-check-and-send-arrow
Minjae-An a26f8e1
feat: 사용하지 않는 최종 접속 일시 업데이트 인터셉터 삭제(#68)
Minjae-An a8925cf
feat: 사용하지 않는 예외 삭제(#68)
Minjae-An 4b44a1c
feat: 코드 정렬(#68)
Minjae-An dbeae6d
feat: 출석 체크 가능 여부 확인 로직 수정(#68)
Minjae-An 9f555a0
feat: 사용하지 않는 최종 접속 일시 업데이트 로직 삭제(#68)
Minjae-An 7afbdb6
feat: 출석 체크 로직 수정(#68)
Minjae-An ff79f51
feat: 출석 체크 API 로직 수정(#68)
Minjae-An 943eb41
feat: 사용되지 않는 예외 삭제(#68)
Minjae-An 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
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
18 changes: 0 additions & 18 deletions
18
be/src/main/java/yeonba/be/arrow/dto/request/ArrowSendRequest.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
17 changes: 17 additions & 0 deletions
17
be/src/main/java/yeonba/be/arrow/enums/ArrowTransactionType.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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package yeonba.be.arrow.enums; | ||
|
||
import lombok.AllArgsConstructor; | ||
import lombok.Getter; | ||
|
||
@Getter | ||
@AllArgsConstructor | ||
public enum ArrowTransactionType { | ||
|
||
DAILY_CHECK("출석 체크"), | ||
|
||
REWARDS_FOR_WATCHING_ADVERTISEMENTS("광고 시청 통한 화살 획득"), | ||
|
||
USER_TO_USER("사용자간 송수신"); | ||
|
||
private final String description; | ||
} |
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.
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.
최종 접속 일시 수정을 interceptor에서 하신 이유가 무엇인가요?
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.
갱신되도록 인터셉터의
afterCompletion
을 활용했습니다.것일까요? 잘 이해하지 못해 질문드립니다.
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.
네네 사용자에게 화살은 추가됐지만 최종 접속 시간은 업데이트 되지 않은 경우는 정상적인 상황이 아닌 것같아서요.
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.
두 작업을 한 트랜잭션으로 다룰 수 있게 변경하였습니다. 이미 출석 체크한 상황을 예외로 다루지 않는 형식으로 로직을 구성하였는데 적절한 지 한 번 피드백 주시길 부탁드립니다.