Package cn.sparrow.common.repository
Interface UserMenuRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<UserMenu,UserMenuPK>
,org.springframework.data.jpa.repository.JpaRepository<UserMenu,UserMenuPK>
,org.springframework.data.repository.PagingAndSortingRepository<UserMenu,UserMenuPK>
,org.springframework.data.repository.query.QueryByExampleExecutor<UserMenu>
,org.springframework.data.repository.Repository<UserMenu,UserMenuPK>
public interface UserMenuRepository extends org.springframework.data.jpa.repository.JpaRepository<UserMenu,UserMenuPK>
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteByIdIn(List<UserMenuPK> ids)
void
deleteByIdUsernameAndIdMenuIdIn(String username, List<String> menuIds)
findByIdUsername(String username)
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
deleteByIdUsernameAndIdMenuIdIn
findByIdUsername
deleteByIdIn