All Superinterfaces:
org.springframework.data.repository.CrudRepository<UserInfo,Long>, org.springframework.data.jpa.repository.JpaRepository<UserInfo,Long>, org.springframework.data.repository.ListCrudRepository<UserInfo,Long>, org.springframework.data.repository.ListPagingAndSortingRepository<UserInfo,Long>, org.springframework.data.repository.PagingAndSortingRepository<UserInfo,Long>, org.springframework.data.repository.query.QueryByExampleExecutor<UserInfo>, com.sankcrm.erp.domain.infrastructure.persistence.hibernate.Repository<UserInfo>, org.springframework.data.repository.Repository<UserInfo,Long>

public interface UserInfoRepository extends com.sankcrm.erp.domain.infrastructure.persistence.hibernate.Repository<UserInfo>
用户信息存储
Since:
2.1.0
Author:
zhsxin
create time:
2023/4/2 13:24
  • Method Summary

    Modifier and Type
    Method
    Description
    findBy(com.sankcrm.erp.auth.domain.model.user.UserId id)
     
    findByUserId(com.sankcrm.erp.auth.domain.model.user.UserId id)
     
    default UserInfo
    findOneBy(com.sankcrm.erp.auth.domain.model.user.UserId id)
     

    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.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

    • findByUserId

      Optional<UserInfo> findByUserId(com.sankcrm.erp.auth.domain.model.user.UserId id)
    • findBy

      default Optional<UserInfo> findBy(com.sankcrm.erp.auth.domain.model.user.UserId id)
    • findOneBy

      default UserInfo findOneBy(com.sankcrm.erp.auth.domain.model.user.UserId id)