-
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
[fix] 정렬기준 default 값 변경 #54
Merged
Merged
Changes from 10 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
cf4bc8b
[fix] #53 정렬기준 default 값 변경
RyuKwanKon eea0c12
[del] #53 noise type 삭제
RyuKwanKon 082023b
[fix] #53 소음 type -> earphone & call로 분리
RyuKwanKon 3f61bd3
[feat] #53 call type enum & converter 구현
RyuKwanKon 7956271
[feat] #53 earphone type enum & converter 구현
RyuKwanKon e828582
[fix] #53 checklist 수정에 따른 일치율 계산 수정
RyuKwanKon 9425c2c
[fix] #53 checklist 수정에 따른 request dto 수정
RyuKwanKon 834f0f8
[fix] #53 checklist 수정에 따른 response dto 수정
RyuKwanKon 4538018
[fix] #53 checklist 중 범위 type 일치율 계산 로직 수정
RyuKwanKon d0f4f26
[fix] #53 test 로직 삭제
RyuKwanKon 4a3f72a
[fix] #53 call type 워딩 수정
RyuKwanKon 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
12 changes: 12 additions & 0 deletions
12
src/main/java/org/gachon/checkmate/domain/checkList/converter/CallTypeConverter.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,12 @@ | ||
package org.gachon.checkmate.domain.checkList.converter; | ||
|
||
import jakarta.persistence.Converter; | ||
import org.gachon.checkmate.domain.checkList.entity.CallType; | ||
import org.gachon.checkmate.global.utils.AbstractEnumCodeAttributeConverter; | ||
|
||
@Converter | ||
public class CallTypeConverter extends AbstractEnumCodeAttributeConverter<CallType> { | ||
public CallTypeConverter() { | ||
super(CallType.class); | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
src/main/java/org/gachon/checkmate/domain/checkList/converter/EarPhoneTypeConverter.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,12 @@ | ||
package org.gachon.checkmate.domain.checkList.converter; | ||
|
||
import jakarta.persistence.Converter; | ||
import org.gachon.checkmate.domain.checkList.entity.EarPhoneType; | ||
import org.gachon.checkmate.global.utils.AbstractEnumCodeAttributeConverter; | ||
|
||
@Converter | ||
public class EarPhoneTypeConverter extends AbstractEnumCodeAttributeConverter<EarPhoneType> { | ||
public EarPhoneTypeConverter() { | ||
super(EarPhoneType.class); | ||
} | ||
} |
12 changes: 0 additions & 12 deletions
12
src/main/java/org/gachon/checkmate/domain/checkList/converter/NoiseTypeConverter.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
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
20 changes: 20 additions & 0 deletions
20
src/main/java/org/gachon/checkmate/domain/checkList/entity/EarPhoneType.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,20 @@ | ||
package org.gachon.checkmate.domain.checkList.entity; | ||
|
||
import lombok.AccessLevel; | ||
import lombok.AllArgsConstructor; | ||
import lombok.Getter; | ||
import org.gachon.checkmate.global.utils.EnumField; | ||
|
||
@AllArgsConstructor(access = AccessLevel.PRIVATE) | ||
@Getter | ||
public enum EarPhoneType implements EnumField { | ||
NEED("1", "이어폰 필수"), | ||
NOT_NEED("2", "상관없음"); | ||
|
||
private final String code; | ||
private final String desc; | ||
|
||
public int compareRateTo(EarPhoneType e) { | ||
return this.equals(e) ? 1 : 0; | ||
} | ||
} |
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
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.
기획적인 의견이긴한데..
로 나누는건 어떤가요? 현재는 2번과 3번이 둘이 비슷해보여서 의견드립니당
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.
음 뭔가 딱 와 닿는게 없어서 회의 때 말 해볼까요?? 저도 뭔가 딱 기준이 안세워지네요