-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from khu-bigdata-project-team-5/feat/1
Feat/1: Lecture API ๊ตฌํ(#1)
- Loading branch information
Showing
12 changed files
with
139 additions
and
85 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
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
7 changes: 7 additions & 0 deletions
7
src/main/java/khu/bigdata/infou/repository/LectureDetailRepository.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,14 @@ | ||
package khu.bigdata.infou.repository; | ||
|
||
import khu.bigdata.infou.domain.LectureDetail; | ||
import khu.bigdata.infou.domain.LectureUdemy; | ||
import org.springframework.data.jpa.repository.JpaRepository; | ||
|
||
import java.util.Optional; | ||
|
||
public interface LectureDetailRepository extends JpaRepository<LectureDetail, Long> { | ||
|
||
Optional<LectureDetail> findByLectureUdemy(LectureUdemy lectureUdemy); | ||
|
||
Optional<LectureDetail> findByLectureId(Long lectureId); | ||
} |
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
7 changes: 7 additions & 0 deletions
7
src/main/java/khu/bigdata/infou/repository/PlatformStudentLectureRepository.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,7 @@ | ||
package khu.bigdata.infou.repository; | ||
|
||
import khu.bigdata.infou.domain.PlatformStudentLecture; | ||
import org.springframework.data.jpa.repository.JpaRepository; | ||
|
||
public interface PlatformStudentLectureRepository extends JpaRepository<PlatformStudentLecture, Long> { | ||
} |
7 changes: 7 additions & 0 deletions
7
src/main/java/khu/bigdata/infou/repository/PlatformStudentRepository.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,7 @@ | ||
package khu.bigdata.infou.repository; | ||
|
||
import khu.bigdata.infou.domain.PlatformStudent; | ||
import org.springframework.data.jpa.repository.JpaRepository; | ||
|
||
public interface PlatformStudentRepository extends JpaRepository<PlatformStudent, Long> { | ||
} |
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: 0 additions & 17 deletions
17
src/main/java/khu/bigdata/infou/web/controller/TestController.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.