Interface SysSocialUserRepository

All Superinterfaces:
cn.herodotus.engine.data.core.repository.BaseRepository<SysSocialUser,String>, org.springframework.data.repository.CrudRepository<SysSocialUser,String>, org.springframework.data.jpa.repository.JpaRepository<SysSocialUser,String>, org.springframework.data.jpa.repository.JpaSpecificationExecutor<SysSocialUser>, org.springframework.data.repository.ListCrudRepository<SysSocialUser,String>, org.springframework.data.repository.ListPagingAndSortingRepository<SysSocialUser,String>, org.springframework.data.repository.PagingAndSortingRepository<SysSocialUser,String>, org.springframework.data.repository.query.QueryByExampleExecutor<SysSocialUser>, org.springframework.data.repository.Repository<SysSocialUser,String>

public interface SysSocialUserRepository extends cn.herodotus.engine.data.core.repository.BaseRepository<SysSocialUser,String>

Description: 社交用户Repository

Author:
: gengwei.zheng
Date:
: 2021/5/16 16:25
  • Method Summary

    Modifier and Type
    Method
    Description
    通过 uuid 和 source查询用户

    Methods inherited from interface cn.herodotus.engine.data.core.repository.BaseRepository

    count, count, deleteById, findAll, findAll, findAll, findAll, findAll, findAll, findById, findOne

    Methods inherited from interface org.springframework.data.repository.CrudRepository

    delete, deleteAll, deleteAll, deleteAllById, existsById, 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

    delete, exists, findBy

    Methods inherited from interface org.springframework.data.repository.ListCrudRepository

    findAllById, saveAll

    Methods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor

    count, exists, findAll, findBy, findOne
  • Method Details

    • findSysSocialUserByUuidAndSource

      @QueryHints() SysSocialUser findSysSocialUserByUuidAndSource(String uuid, String source)
      通过 uuid 和 source查询用户
      Parameters:
      uuid - JustAuth返回信息中uuid,具体信息查询JustAuth
      source - 第三方登录类型的字符串
      Returns:
      SysSocialUser