-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: staff에 language, migration 방법 추가 (#183)
* feat: staffEntity에 language 추가 * feat: branch 이름 변경 * fix: branch origin 이름 변경 * feat: staff 읽기, 수정에서 language 속성 추가 * feat: migrateStaffImage 추가 * fix: StaffServiceTest 수정
- Loading branch information
Showing
6 changed files
with
52 additions
and
13 deletions.
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
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
5 changes: 4 additions & 1 deletion
5
src/main/kotlin/com/wafflestudio/csereal/core/member/database/StaffRepository.kt
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 |
---|---|---|
@@ -1,5 +1,8 @@ | ||
package com.wafflestudio.csereal.core.member.database | ||
|
||
import com.wafflestudio.csereal.common.properties.LanguageType | ||
import org.springframework.data.jpa.repository.JpaRepository | ||
|
||
interface StaffRepository : JpaRepository<StaffEntity, Long> | ||
interface StaffRepository : JpaRepository<StaffEntity, Long> { | ||
fun findAllByLanguage(languageType: LanguageType): List<StaffEntity> | ||
} |
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