Interface EmployeeRelationRepository

  • All Superinterfaces:
    org.springframework.data.repository.CrudRepository<cn.sparrowmini.org.model.relation.EmployeeRelation,​cn.sparrowmini.org.model.relation.EmployeeRelation.EmployeeRelationPK>, org.springframework.data.jpa.repository.JpaRepository<cn.sparrowmini.org.model.relation.EmployeeRelation,​cn.sparrowmini.org.model.relation.EmployeeRelation.EmployeeRelationPK>, org.springframework.data.repository.PagingAndSortingRepository<cn.sparrowmini.org.model.relation.EmployeeRelation,​cn.sparrowmini.org.model.relation.EmployeeRelation.EmployeeRelationPK>, org.springframework.data.repository.query.QueryByExampleExecutor<cn.sparrowmini.org.model.relation.EmployeeRelation>, org.springframework.data.repository.Repository<cn.sparrowmini.org.model.relation.EmployeeRelation,​cn.sparrowmini.org.model.relation.EmployeeRelation.EmployeeRelationPK>

    public interface EmployeeRelationRepository
    extends org.springframework.data.jpa.repository.JpaRepository<cn.sparrowmini.org.model.relation.EmployeeRelation,​cn.sparrowmini.org.model.relation.EmployeeRelation.EmployeeRelationPK>
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      long countByIdParentId​(java.lang.String parentId)  
      void deleteByIdEmployeeIdInOrIdParentIdIn​(java.lang.String[] ids, java.lang.String[] ids2)  
      java.util.List<cn.sparrowmini.org.model.relation.EmployeeRelation> findByIdEmployeeId​(java.lang.String employeeId)  
      java.util.List<cn.sparrowmini.org.model.relation.EmployeeRelation> findByIdParentId​(java.lang.String object)  
      • 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, findAll, findAll, findAllById, flush, getById, getOne, getReferenceById, saveAll, saveAllAndFlush, saveAndFlush
      • 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 Detail

      • findByIdParentId

        java.util.List<cn.sparrowmini.org.model.relation.EmployeeRelation> findByIdParentId​(java.lang.String object)
      • deleteByIdEmployeeIdInOrIdParentIdIn

        @Transactional
        void deleteByIdEmployeeIdInOrIdParentIdIn​(java.lang.String[] ids,
                                                  java.lang.String[] ids2)
      • countByIdParentId

        long countByIdParentId​(java.lang.String parentId)
      • findByIdEmployeeId

        java.util.List<cn.sparrowmini.org.model.relation.EmployeeRelation> findByIdEmployeeId​(java.lang.String employeeId)