-
Notifications
You must be signed in to change notification settings - Fork 0
[RELEASE] v2.2.7 고정 메뉴/제휴 식당 다국어(영/일/베) 지원 #394
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
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
a9bd88f
feat: 단과대학/학과/제휴식당 다국어 번역 데이터 추가
eunseo9311 3061b11
feat: 제휴 혜택 설명 다국어 지원 추가
eunseo9311 a9adae0
feat: 고정메뉴 다국어 지원 및 26-1학기 스낵코너 메뉴 업데이트
eunseo9311 12ab1bb
refactor: DML 전용 i18n 번역 데이터 마이그레이션 파일 제거
eunseo9311 b0a2b5f
refactor: 스낵코너 메뉴 업데이트 DML 마이그레이션 파일 제거
eunseo9311 dabb8f9
fix: getMenusByRestaurant 하위 호환용 오버로드 메서드 추가
pooreumjung f839296
Merge pull request #375 from EAT-SSU/feat/i18n-multilang-support
pooreumjung 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 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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -27,7 +27,8 @@ public static PartnershipResponse fromEntity(PartnershipRestaurant restaurant, L | |
| List<PartnershipInfo> infos = restaurant.getPartnerships().stream() | ||
| .map(partnership -> PartnershipInfo.fromEntity(partnership, | ||
| restaurant, | ||
| isLiked)) | ||
| isLiked, | ||
| language)) | ||
|
Comment on lines
27
to
+31
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [작성자: 김철수, 날짜: 2026-07-05] PartnershipResponse.fromEntity 메서드 내에서 지연 로딩(Lazy Loading)으로 설정된 restaurant.getPartnerships()를 호출하고 있습니다. 이를 호출하는 서비스 메서드에 @transactional(readOnly = true) 선언이 누락되어 있을 경우 LazyInitializationException이 발생할 수 있으므로 주의가 필요합니다. References
|
||
| .collect(Collectors.toList()); | ||
|
|
||
| return PartnershipResponse.builder() | ||
|
|
||
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
4 changes: 4 additions & 0 deletions
4
src/main/resources/db/migration/V13__add_i18n_columns_to_partnership.sql
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,4 @@ | ||
| ALTER TABLE partnership | ||
| ADD COLUMN description_en TEXT NULL, | ||
| ADD COLUMN description_ja TEXT NULL, | ||
| ADD COLUMN description_vi TEXT NULL; |
4 changes: 4 additions & 0 deletions
4
src/main/resources/db/migration/V15__add_i18n_columns_to_menu.sql
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,4 @@ | ||
| ALTER TABLE menu | ||
| ADD COLUMN name_en VARCHAR(255) NULL, | ||
| ADD COLUMN name_ja VARCHAR(255) NULL, | ||
| ADD COLUMN name_vi VARCHAR(255) NULL; |
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.
[작성자: 김철수, 날짜: 2026-07-05] Menu 엔티티에 다국어 이름 필드(nameEn, nameJa, nameVi)가 추가되었으나 이를 설정하거나 수정할 수 있는 메서드가 없습니다. 다국어 이름을 업데이트할 수 있는 메서드를 추가하는 것을 권장합니다.
References