Interface SysroleMenuRepository

All Superinterfaces:
org.springframework.data.repository.CrudRepository<SysroleMenu,​SysroleMenuPK>, org.springframework.data.jpa.repository.JpaRepository<SysroleMenu,​SysroleMenuPK>, org.springframework.data.repository.PagingAndSortingRepository<SysroleMenu,​SysroleMenuPK>, org.springframework.data.repository.query.QueryByExampleExecutor<SysroleMenu>, org.springframework.data.repository.Repository<SysroleMenu,​SysroleMenuPK>
public interface SysroleMenuRepository extends org.springframework.data.jpa.repository.JpaRepository<SysroleMenu,​SysroleMenuPK>
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
     
    findByIdSysroleId​(String sysroleId)
     

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

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

    Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository

    deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getOne, saveAll, saveAndFlush

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

    findAll

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

    count, exists, findAll, findOne
  • Method Details

    • findByIdSysroleId

      Set<SysroleMenu>  findByIdSysroleId(String sysroleId)
    • deleteByIdSysroleIdAndIdMenuIdIn

      @Transactional void  deleteByIdSysroleIdAndIdMenuIdIn(String sysroleId, List<String> menuIds)
    • deleteByIdIn

      @Transactional void  deleteByIdIn(List<SysroleMenuPK> ids)