Interface QualityStatisticRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<QualityStatisticEntity,
,Long> org.springframework.data.jpa.repository.JpaRepository<QualityStatisticEntity,
,Long> org.springframework.data.jpa.repository.JpaSpecificationExecutor<QualityStatisticEntity>
,org.springframework.data.repository.ListCrudRepository<QualityStatisticEntity,
,Long> org.springframework.data.repository.ListPagingAndSortingRepository<QualityStatisticEntity,
,Long> org.springframework.data.repository.PagingAndSortingRepository<QualityStatisticEntity,
,Long> org.springframework.data.repository.query.QueryByExampleExecutor<QualityStatisticEntity>
,org.springframework.data.repository.Repository<QualityStatisticEntity,
Long>
public interface QualityStatisticRepository
extends org.springframework.data.jpa.repository.JpaRepository<QualityStatisticEntity,Long>, org.springframework.data.jpa.repository.JpaSpecificationExecutor<QualityStatisticEntity>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.springframework.data.jpa.repository.JpaSpecificationExecutor
org.springframework.data.jpa.repository.JpaSpecificationExecutor.SpecificationFluentQuery<T extends Object>
-
Method Summary
Modifier and TypeMethodDescriptionexistsByUid
(String uid) findByAgentUidAndDateAndDeletedFalse
(String agentUid, String date) findByChannelAndDeletedFalse
(String channel) findByOrgUidAndDateAndDeletedFalse
(String orgUid, String date) findByOrgUidAndDateBetween
(String orgUid, String startDate, String endDate) findByOrgUidAndTypeAndDateAndDeletedFalse
(String orgUid, String type, String date) findByRobotUidAndDateAndDeletedFalse
(String robotUid, String date) findByWorkgroupUidAndDateAndDeletedFalse
(String workgroupUid, String date) Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, save
Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlush
Methods inherited from interface org.springframework.data.jpa.repository.JpaSpecificationExecutor
count, delete, exists, findAll, findAll, findAll, findAll, findBy, findOne
Methods inherited from interface org.springframework.data.repository.ListCrudRepository
findAll, findAllById, saveAll
Methods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository
findAll
Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAll
Methods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findBy, findOne
-
Method Details
-
findByUid
-
existsByUid
-
findByOrgUidAndDateAndDeletedFalse
-
findByOrgUidAndTypeAndDateAndDeletedFalse
Optional<QualityStatisticEntity> findByOrgUidAndTypeAndDateAndDeletedFalse(String orgUid, String type, String date) -
findByWorkgroupUidAndDateAndDeletedFalse
Optional<QualityStatisticEntity> findByWorkgroupUidAndDateAndDeletedFalse(String workgroupUid, String date) -
findByAgentUidAndDateAndDeletedFalse
-
findByRobotUidAndDateAndDeletedFalse
-
findByOrgUidAndDateBetween
@Query("SELECT q FROM QualityStatisticEntity q WHERE q.orgUid = :orgUid AND q.date BETWEEN :startDate AND :endDate AND q.deleted = false") List<QualityStatisticEntity> findByOrgUidAndDateBetween(@Param("orgUid") String orgUid, @Param("startDate") String startDate, @Param("endDate") String endDate) -
findByChannelAndDeletedFalse
-