@@ -13,7 +13,6 @@ public interface CourseSubRelationRepository extends BasicJpaRepository<CourseSu
List<CourseSubRelation> findByCourseId(String courseId);
-
@Query(value = "select r.* from p_course_sub_relation r where r.course_id = :courseId and r.status = 0 order by r.sort limit 1", nativeQuery = true)
CourseSubRelation findFirstByCourseIdOrderBySort(@Param("courseId") String courseId);