-
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: 음원 정보 추출 못할 시 파일 이름으로 추출하도록 기능 추가
- Loading branch information
1 parent
8310681
commit 2021722
Showing
5 changed files
with
107 additions
and
19 deletions.
There are no files selected for viewing
5 changes: 4 additions & 1 deletion
5
...end/music-server/music-api/src/main/java/com/lalala/music/repository/AlbumRepository.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 |
---|---|---|
@@ -1,7 +1,10 @@ | ||
package com.lalala.music.repository; | ||
|
||
import java.util.Optional; | ||
import org.springframework.data.jpa.repository.JpaRepository; | ||
|
||
import com.lalala.music.entity.AlbumEntity; | ||
|
||
public interface AlbumRepository extends JpaRepository<AlbumEntity, Long> {} | ||
public interface AlbumRepository extends JpaRepository<AlbumEntity, Long> { | ||
Optional<AlbumEntity> findByTitleAndArtistId(String title, Long artistId); | ||
} |
5 changes: 4 additions & 1 deletion
5
...nd/music-server/music-api/src/main/java/com/lalala/music/repository/ArtistRepository.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 |
---|---|---|
@@ -1,7 +1,10 @@ | ||
package com.lalala.music.repository; | ||
|
||
import java.util.Optional; | ||
import org.springframework.data.jpa.repository.JpaRepository; | ||
|
||
import com.lalala.music.entity.ArtistEntity; | ||
|
||
public interface ArtistRepository extends JpaRepository<ArtistEntity, Long> {} | ||
public interface ArtistRepository extends JpaRepository<ArtistEntity, Long> { | ||
Optional<ArtistEntity> findByNameAndAgency(String name, String agency); | ||
} |
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