Interface EnrollmentDataPointRepository

All Superinterfaces:
org.springframework.data.repository.CrudRepository<EnrollmentDataPoint,Long>, org.springframework.data.repository.Repository<EnrollmentDataPoint,Long>

@Repository public interface EnrollmentDataPointRepository extends org.springframework.data.repository.CrudRepository<EnrollmentDataPoint,Long>
  • Method Details

    • findByYyyyq

      Iterable<EnrollmentDataPoint> findByYyyyq(String yyyyq)
    • findByQuarterRangeAndCourseIdAndOptionalFilters

      @Query("SELECT e FROM enrollmentdatapoint e\nWHERE e.yyyyq >= :startQtr\n AND e.yyyyq <= :endQtr\n AND e.courseId LIKE CONCAT(:courseId, \'%\')\n AND (:enrollCd IS NULL OR e.enrollCd = :enrollCd)\n AND (:section IS NULL OR e.section = :section)\nORDER BY e.dateCreated ASC, e.yyyyq ASC, e.courseId ASC, e.section ASC, e.enrollCd ASC, e.id ASC\n") List<EnrollmentDataPoint> findByQuarterRangeAndCourseIdAndOptionalFilters(@Param("startQtr") String startQtr, @Param("endQtr") String endQtr, @Param("courseId") String courseId, @Param("enrollCd") String enrollCd, @Param("section") String section)