接口 YueEquipmentAnalysisRepository

所有超级接口:
org.springframework.data.repository.CrudRepository<YueEquipmentAnalysis,String>, org.springframework.data.jpa.repository.JpaRepository<YueEquipmentAnalysis,String>, org.springframework.data.jpa.repository.JpaSpecificationExecutor<YueEquipmentAnalysis>, org.springframework.data.repository.ListCrudRepository<YueEquipmentAnalysis,String>, org.springframework.data.repository.ListPagingAndSortingRepository<YueEquipmentAnalysis,String>, org.springframework.data.repository.PagingAndSortingRepository<YueEquipmentAnalysis,String>, org.springframework.data.repository.query.QueryByExampleExecutor<YueEquipmentAnalysis>, org.springframework.data.repository.Repository<YueEquipmentAnalysis,String>, YueRepository<YueEquipmentAnalysis,String>

public interface YueEquipmentAnalysisRepository extends YueRepository<YueEquipmentAnalysis,String>
  • 方法概要

    从接口继承的方法 org.springframework.data.repository.CrudRepository

    count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, save

    从接口继承的方法 org.springframework.data.jpa.repository.JpaRepository

    deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlush

    从接口继承的方法 org.springframework.data.jpa.repository.JpaSpecificationExecutor

    count, delete, exists, findAll, findAll, findAll, findBy, findOne

    从接口继承的方法 org.springframework.data.repository.ListCrudRepository

    findAll, findAllById, saveAll

    从接口继承的方法 org.springframework.data.repository.ListPagingAndSortingRepository

    findAll

    从接口继承的方法 org.springframework.data.repository.PagingAndSortingRepository

    findAll

    从接口继承的方法 org.springframework.data.repository.query.QueryByExampleExecutor

    count, exists, findAll, findBy, findOne

    从接口继承的方法 cn.xisoil.curd.dao.YueRepository

    deleteAllByIdIn, findTopByIdNotNull
  • 方法详细资料

    • findTopByDateAndEquipment

      Optional<YueEquipmentAnalysis> findTopByDateAndEquipment(String time, AnalysisEquipment equipment)
    • findTop5SumByEquipment

      @Query("select new map(equipment.equipment as name,sum(equipment.uvCount) as value) from YueEquipmentAnalysis equipment group by equipment.equipment order by sum(equipment.uvCount) desc") List<Map<String,Object>> findTop5SumByEquipment()